可学答题网 > 问答 > MCTS(70-528)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are developing a Web control. The


You are developing a Web control. The Web control captures user address information in a Web application. You create a class named AddressControl that inherits from CompositeControl. This control consists of child controls.You need to ensure that the child controls are properly output to the browser.Developers using your control must be able to set the appropriate text for labels. In addition, they must be able to pull user address information from the associated text boxes during postback. What should you do?()

  • A Override the EnsureChildControls method of the base class. Add the child controls to the base container.
  • B Override the CreateControlCollection method of the base class. Add the child controls to the ControlCollection class
  • C Override the CreateChildControls method of the base class. Add the child controls to the base container.
  • D Override the DataBindChildren method of the base class. Add the child controls to the ControlCollection class.
参考答案
参考解析:
分类:MCTS(70-528)题库
相关推荐

1、You develop a Web application that con

You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the app...

2、You are developing a Web application.

You are developing a Web application. The Web application restricts access to an administrative page. The Web application uses the following cod...

3、You develop a Web application that wri

You develop a Web application that writes data to a file on a server. You restrict access to the file to specific Windows users. The Web ap...

4、You develop a Web application that co

You develop a Web application that contains two master pages.You need to dynamically set the master page when a user views pages in the appli...

5、You are creating a Web Form. The Web

You are creating a Web Form. The Web Form allows users to rename or delete products in a list. You create a DataTable named dtProducts that...

6、Exhibit: You are developing a Web app

Exhibit: You are developing a Web application. The Web application uses a GridView control to display data. You build your Web Forms for the ...