The main features of a COR Master Page include:
- WebPartManager - an ASP.NET 2.0 control that is included on all pages with Web Pages.
- PersonalizationControl - a Web Control that is used to display the Editor Controls and COR and Jetfire Web Part Libraries.
- TrWebPartChangeControl - a TrackerRealm Base Web Part that is visible when a user is logged into the website. It displays a Login message with 'Edit', 'Library', 'Browse', 'Logout' and 'Help' links.
- TrWebPartZone - a TrackerRealm Base Web Part that is the Web Part container.
A simplified COR Master Page is shown below:
<%@ Master Language="C#" AutoEventWireup="true" %>
<%@ Register TagPrefix="uc1" Src="Controls/CMSLibraryControl.ascx" TagName="PersonalizationControl" %>
<%@ Register TagPrefix="base1" Namespace="TrackerRealm.WebBase" Assembly="TrackerRealm.WebBase" %>
<!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" xmlns:xf="http://www.w3.org/2002/xforms" xml:lang="en">
<head id="Head1" runat="server">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<meta name="title" content="Page Title"/>
</head>
<body>
<form id="form1" runat="server">
<asp:WebPartManager ID="WebPartManager1" runat="server" Personalization-InitialScope="Shared" />
<table style="width:100%; height:100%;">
<tr>
<td valign="top">
<table class="tableStyle">
<tr align="left" class="navStyle"><td colspan="2">
<asp:Panel ID="PanelLinks" runat="server" CssClass="right09" Width="100%" >
<base1:TrWebPartChangeControl ID="ChangeControl" runat="server" />
</asp:Panel>
</td></tr>
<tr align="left" valign="top"><td colspan="2">
<base1:TrWebPartZone ID="WebPartZoneHeader" runat="server" HeaderText="Header" >
<ZoneTemplate>
// Web Parts are added here
</ZoneTemplate>
</base1:TrWebPartZone>
</td>
</tr>
</td></tr>
</table>
</td>
<td valign="top">
<table>
<tr><td style="text-align:left; width:100%; height:100%; background-color:White;">
<uc1:PersonalizationControl id="PersonalizationControl1" runat="server" />
</td></tr>
</table>
</td></tr></table>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</form>
</body>
</html>