You create a custom server control named Task that contains the following code segment. You need to ensure that adding a Task control from the Toolbox creates markup in the following format. Which two actions should you perform?()
- AAdd the following code segment to the project’s AssemblyInfo.cs file. [assembly: TagPrefix("DevControls", "Dev")]
- BReplace line 05 with the following code segment. [DefaultValue("New Task")]
- CInsert the following code segment immediately before line 03. [ToolboxData("<{0}:Task runat=\"server\" Title=\"New Task\" />")]
- DReplace line 10 with the following code segment. output.Write("<Dev:Task runat=\"server\" Title=\"New Task\" />")