PrepAway - Latest Free Exam Questions & Answers

Category: 70-528

Exam 70-528: TS: Microsoft .NET Framework 2.0 – Web-based Client Development

Which two actions should you perform to ensure that when users click on a particular property, they receive a

Exhibit:

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.)

What should you do to maintain the UI elements’ style properties?

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?

Which code segment should you use to create a child master page that contains the navigation for each section?

Exhibit:

You create a master page named Parent.master that contains a global header for your Web application. You add a ContentPlaceHolder to Parent.master by using the following code segment.

<asp:ContentPlaceHolder ID="pagebody" runat="server" />

You also create a content page named Article.aspx by using the following code segment.

<%@ Page Language="C#" MasterPageFile="~/navigation.master"%> <asp:Content ContentPlaceHolderID="article" Runat="Server">

Article content to go here

</asp:Content>

You need to create a child master page that
contains the navigation for each section. The users must be able to see the header, the navigation, and the article when they view the page, as shown in the exhibit.
Which code segment should you use?

What should you do next?

You are developing a product search page named Search.aspx for Web application that will be integrated into Domain.com’s existing e-Commerce Web site. The Search.aspx page allows customers search for products that match specific criteria. The search criteria are implemented as CheckBox controls. The Search button is implemented as a Button control. You want the CheckBox controls to be cleared when the Search button is clicked. You set the Checked property of each CheckBox to False in the designer.
What should you do next?

What code segment should you use?

You are developing a Web application for Domain.com’s existing Web site. The Web application implements role-based security to allow for the administration and maintenance of the Domain.com Web site. It allows members of the Admins role to administer the Web site, including the databases used by the Web site, while allowing members of the Support role to a maintain the Web site by adding and editing product information. Only members of the Admins role should have access to confidential user information.
What code segment should you use?


Page 4 of 10« First...23456...10...Last »