Databases Reference
In-Depth Information
9.
Now you will set the Master Page for some child web pages so they can inherit the
layout of the Master Page. Go to Solution Explorer, open the
Input.aspx
page in
Design view, go to the Properties window, and click the ellipsis button beside the
MasterPageFile property. This will take you to the Select a Master Page dialog box.
Select
Ch15MasterPage.master
, and click OK.
10.
Switch to Source view of the
Input.aspx
page. You need to modify it by removing
all the lines except the control tags and embedding these lines inside the
<asp:Content> </asp:Content>
tags (see Figure 15-15).
Figure 15-15.
Child form displaying Master Page settings with controls
11.
After modifying the code, switch back to Design view. You will see the page in
Design mode as shown in Figure 15-16.
12.
Now open
Input.aspx
in your browser. You should see output similar to what is
shown in Figure 15-17.
Search WWH ::
Custom Search