PrepAway - Latest Free Exam Questions & Answers

Author: admin

What should you do to synchronize the development site and the staging site and copy the latest version of eac

You copy a Web site from a development site to a staging site. You do not have the Web site in a source control application. Another developer begins to fix bugs on the staging site while the development team adds features on the development site. You need to synchronize the development site and the staging site and copy the latest version of each file to both locations. What should you do?

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?