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? ()
第1题:
You are developing an ASP.NET Web page. The page includes a List
第2题:
You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and location of the Web Parts on their home pages. Which two controls should you add to the EditorZone control?()
第3题:
Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.
Add a DocumentViewer control to the design surface. Then create a FixedDocument control.
Add a WebBrowser control to the design surface. Then use the Navigate method to navigate the URI object.
Add a ContentControl control to the design surface. Then reference a WebClient object to return an HTML string.
第4题:
Add a Web Control Library project to your solution. Define a class that inherits from CompositeControl.
Add a Windows Control Library project to your solution. Define a class that inherits from UserControl.
Add a Web User Control to your project. Define a class that inherits from UserControl.
Add a Mobile Web User Control to your project. Define a class that inherits from MobileUserControl.
第5题:
You are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using theASP.NET page designer. You need to add a control to the master page to define the region. Which control should you add?()
第6题:
You are creating a custom control. The UI of the control must contain several text boxes and two buttons. The control must be available in the global assembly cache for reuse across multiple Web applications. You need to achieve this functionality by using the minimum amount of code. What should you do? ()
第7题:
Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.
Add a ContentControl control to the design surface. The reference a WebClient object to return an HTML string.
Add a DocumentViewer control to the design surface. The create a FixedDocument control.
第8题:
this.RequireControlState(this.LoadControl(typeof(TextBox),null));
this.ContentSection.control.add(this.FindControl(ContentSection.ID + asp:TextBox));
this.ContentSection.control.add(this.LoadControl(typeof(TextBox),null));
this.LoadComplete(asp:TextBox).IntiantiateIn(Content Section)