|
<%@ Page language="c#" Codebehind="WebUserControl.aspx.cs" AutoEventWireup="false" Inherits="PageInheritanceSample.WebUserControl" %>
<%@ Register TagPrefix="uc1" TagName="HeaderControl" Src="HeaderControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="MenuControl" Src="MenuControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="FooterControl" Src="FooterControl.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Page 1</title>
</HEAD>
<body>
<form id="Page1" method="post" runat="server">
<table bgcolor='silver' width='100%'>
<tr>
<td colspan="2"><uc1:HeaderControl id="HeaderControl1" runat="server"></uc1:HeaderControl></td>
</tr>
<tr>
<td><uc1:MenuControl id="MenuControl1" runat="server"></uc1:MenuControl></td>
<td bgcolor='white'>
<h1>This is Page 1</h1>
<p>
The content on this page is static and defined in the .ASPX file.
</p>
</td>
</tr>
<tr>
<td colspan="2"><uc1:FooterControl id="FooterControl1" runat="server"></uc1:FooterControl></td>
</tr>
</table>
</form>
</body>
</HTML>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
Peter Provost has been programming computers since he was 10 years old. Currently a C# and C++ junkie, he has been developing on the Windows platform since Windows 286.
Peter is a Software Design Engineer with Microsoft's
patterns and practices team where he works on guidance for .NET developers.
Peter maintains an active weblog about technology, .NET and other interesting stuff at
http://www.peterprovost.org