So now let's create a page that has a "Master
Page" and get the controls within it.
Firstly, create a new solution. Then Create a "Master
Page". In the "Master Page", create a table with two content
panels. We are going to create a page that would have links on the left and
content displayed within panels on the right.
Listing 2
<table cellspacing="0" cellpadding="0" style="width:100%;vertical-align:top">
<tr>
<td id="LeftNav" style="vertical-align:top">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
<td id="Content">
<asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>