| Exam Code/Number: | 070-528Join the discussion |
| Exam Name: | TS: Microsoft .NET Framework 2.0 - Web-based Client Development |
| Certification: | Microsoft |
| Question Number: | 149 |
| Publish Date: | Aug 28, 2026 |
|
Rating
100%
|
|
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?
You create a Web site. At the top of every page on the site is the following code segment.
<%@ OutputCache Duration="60" VaryByParam="none" %>
You need the pages to display the current user's name at the top without turning off the output cache.
Which control should you use?
You write a Web application that uses registry entries for its configuration settings.
You need to configure the Web setup project to validate the registry entries before the setup completes.
What should you do?
You create a Microsoft ASP.NET Web application. The application contains a Mobile Web Form.
You need to ensure that the Mobile Web Form can display a large volume of text across multiple pages.
What should you do?
You are creating a Web application.
The application contains a DataSet named myDataSet.
You need to fill myDataSet from an XML document. You also need to ensure that the current schema contained in myDataSet, including tables, is extended.
Which code segment should you use?