问题:
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?()
A . Add the following code segment to the project’s AssemblyInfo.cs file. [assembly: TagPrefix("DevControls", "Dev")]
B . Replace line 05 with the following code segment. [DefaultValue("New Task")]
C . Insert the following code segment immediately before line 03. [ToolboxData("<{0}:Task runat=\"server\" Title=\"New Task\" />")]
D . Replace line 10 with the following code segment. output.Write("<Dev:Task runat=\"server\" Title=\"New Task\" />")
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?()
● 参考解析
本题暂无解析