Microsoft TS: Microsoft .NET Framework 2.0 - Web-based Client Development - 070-528 FREE EXAM DUMPS QUESTIONS & ANSWERS

You are creating a composite control for capturing user address information in a Web application. You define a number of properties that the user can set at design time.
You need to group these properties in the Properties dialog box. In addition, you need to ensure that when users click on a particular property, they receive a short explanation of that property. The properties are shown in the exhibit.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: B,D Vote an answer
You create a mobile Web application.
You need to use a Command control to post user input from the UI elements back to the server.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution.
Choose two.)
Correct Answer: A,D Vote an answer
You are developing a Web application.
The home page of the application is named Default.aspx. The home page is regularly updated.
You need to ensure that you can precompile and deploy the application. You also need to ensure that
Default.aspx can be modified without recompiling the application.
What should you do?
Correct Answer: A Vote an answer
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.
<asp:WebPartConnection ID="WebPartConnection1" ProviderID="customerPart" ConsumerID="ordersPart" />
You need to ensure that your Web Part connection is valid.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: B,E Vote an answer
You are creating a Microsoft ASP.NET Web application that uses Web Parts.
You need to ensure that users can modify the following attributes of a Web Part control on a Web page:
Title Height and width Border Collapsed state The zone that contains the control
Which code fragment should you add to the Web page?
Correct Answer: A Vote an answer
Your Web site uses custom Themes. Your Web site must support additional Themes based on the user's company name.
The company name is set when a user logs on to the Web site. The company's Theme name is stored in a variable named ThemeName.
You need to use this variable to dynamically set the Web site's Theme.
What should you do?
Correct Answer: A Vote an answer
You have an SQL query that takes one minute to execute. You use the following code segment to execute the SQL query asynchronously.
IAsyncResult ar = cmd.BeginExecuteReader();
You need to execute a method named DoWork() that takes one second to run while the SQL query is executing.
DoWork() must run as many times as possible while the SQL query is executing.
Which code segment should you use?
Correct Answer: A Vote an answer
You are creating a Microsoft ASP.NET Web site. The Web site has a Web page that contains the following code fragment.
<asp:Label ID="Label1" runat="server" Text="Hello 1" ForeColor="red" Font-
Italic="false" />
<asp:Label ID="Label2" runat="server" Text="Hello 2" ForeColor="red"
SkinId="Winter" />
You add a skin file to the MyTheme folder.
You need to ensure that the following requirements are met:
The font style of Label1 is italic and its foreground color remains red. The foreground color of Label2 is blue.
What should you do?
Correct Answer: B Vote an answer
Your Web Form consists of a number of controls. A GridView control displays ordering information for 50
products.
Your company is unable to accept orders through the Internet, and none of the controls post back to the
server.
You need to minimize the time that it takes to load the Web Form. What should you do?
Correct Answer: C Vote an answer
You are creating a Microsoft ASP.NET application.
The application contains a Mobile Web Form.
You need to ensure that the Mobile Web Form displays text in different fonts and sizes for all labels based
on the type of the mobile device that browses the Web site.
What should you do?
Correct Answer: B Vote an answer
0
0
0
10