Masterpages are keys in constructing websites in asp.net. They provide the background for a website such as the top banners, left hand navigation, footer etc. In this exercise you will need to
satya - Wednesday, May 23, 2007 4:54:27 PM
Here are some basics on master pages
satya - Wednesday, May 23, 2007 5:00:41 PM
Idea for a MainMasterPage.master
<%@ Master Language="C#"
AutoEventWireup="true"
CodeFile="MainMasterPage.master.cs"
Inherits="MainMasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table class="main-layout-table">
<tr><h1>Header</h1></tr>
<tr>
<table>
<tr><td width="15%">leftmenu</td>
<td width="85%">
<asp:contentplaceholder id="PageBody" runat="server"/>
</td>
</tr>
</table>
</tr>
<tr>footer</tr>
</table>
</asp:contentplaceholder>
</div>
</form>
</body>
</html>