You create a Web Form with several UI elements on it. During a code review, you realize that some of the UI elements can be grouped into user controls. You need to create a Web control to group the UI elements that do not require server-side processing. Doing so will enable you to programmatically add or remove the UI elements from the page. You want to maintain the UI elements' style properties. What should you do? ()
- A、Use System.Web.UI.TemplateControl to group the UI elements.
- B、Use System.Web.UI.HtmlControls.HtmlControl to group the UI elements.
- C、Use System.Web.UI.LiteralControl to group the UI elements.
- D、Use System.Web.UI.WebControls.Literal to group the UI elements.
正确答案:C
答案解析:有
微信扫一扫手机做题