Home
Browse all 647 examples
Download all 647 examples
Download sample chapters
Reviews
Errata
Acknowledgments
Links on .NET
Paradoxal Press
Buy directly from Paradoxal Press at $33.99 (Save 43%)
Category: Programming
Level: Beginner to seasoned
900 pages
ISBN-10 097661322-0
ISBN-13 978-097661322-0
$59.99 USA
$79.99 CANADA
|
Listing 23-81 extracted from chapter ASP.NET 2
Listing 23-80< > Listing 23-82
Example_23_81_to_rename_MyMasterPage.master
<%@ master language="C#" %>
<script language="C#" runat="server">
public HtmlTableCell CellHeader {
get { return _CellHeader; } set { _CellHeader = value; }
}
</script>
<html><body><form id="Form1" runat="server">
<table id="Tbl1" width="100%" height="30px"
cellspacing="0" cellpadding="0" >
<tr>
<td id="_CellHeader" runat="server" width="100%"
align="center" bgcolor="silver" >Top</td>
</tr>
</table>
<table id="Tbl2" width="100%" height="50%"
cellspacing="0" cellpadding="0">
<tr>
<td width="60px" align="center" bgcolor="yellow">Left</td>
<td align="center">
<asp:contentplaceholder id="MyContentPH" runat="Server">
</asp:contentplaceholder>
</td>
<td width="60px" align="center" bgcolor="yellow">Right</td>
</tr>
</table>
<table id="Tbl3" width="100%" height="30px"
cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center" bgcolor="silver">Bottom</td>
</tr>
</table>
</form></body></html>
Copyright Patrick Smacchia 2006 2007
|