|
HTML•Check Out the ucMyTemp.ascx Template Listing 1. You store the template that contains HTML and PlaceHolder controls in a user control file. <%@ Control%>
<HTML>
<HEAD>
<title><asp:placeholder id="_title" runat="server" /></title>
</HEAD>
<body>
<table>
<tr><td colspan=3><asp:placeholder id="Header" Runat="server" /></td></tr>
<tr>
<td><asp:placeholder id="Lefter" Runat="server" /></td>
<td>
<asp:placeholder id="Body" Runat="server" />
<br/><br/>
<asp:placeholder id="Footer" Runat="server" />
</td>
<td><asp:placeholder id="Righter" Runat="server" /></td>
</tr>
</table>
</body>
</html>
|