Fire up your applications with Jazz
RSS
Jazz CMS Wiki

About Us

CMS CMS Administration GUI Jazz Jazz Administration Jazz Web Parts Library misc Roles Solutions Training Web Parts Web Service Website Design Website Procedures Wiki conventions WordML Workflow Administration

Quick Search
»
Advanced Search »

Page History: Master Page

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2009/07/12 00:28


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 Page and Library
  • TrWebPartChangeControl - a TrackerRealm 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 Web Control that is the Web Part container.

A typical 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="Jetfire Home Page - a persistent scripting language"/>
</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>

http://www.wiebeworks.com - Wiki version 3.0.4.560.