Personalization Control

Modified on 2009/07/31 14:57 by Charles — Categorized as: Website Design

Table of Contents [Hide/Show]


Personalization Control

The Personalization Control displays:
The Personalization Control is visible when:
The Personalization Control is added to the Master Page by the Website Designer.

Web Control Markup

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebPartLibraryControl.ascx.cs" Inherits="TrackerRealm.Website.WebPartLibraryControl" %>

<%@ Register TagPrefix="jfwp" Namespace="TrackerRealm.Jetfire.WebParts" Assembly="TrackerRealm.Jetfire.WebParts" %>
<%@ Register TagPrefix="cc1" Namespace="TrackerRealm.WebPartsE" Assembly="TrackerRealm.WebPartsE" %>
<%@ Register TagPrefix="base1" Namespace="TrackerRealm.WebBase" Assembly="TrackerRealm.WebBase" %>

<asp:Table ID="CatalogTable" runat="server"><asp:TableRow><asp:TableCell>
    <!-- THIS DISPLAYS THE WEB PART LIBRARIES -->
    <jfwp:JetfireCatalogZone ID="CatalogZone1" runat="server" >
      <ZoneTemplate>
        <asp:DeclarativeCatalogPart ID="CatalogPart1" runat="server" Title="TrackerRealm Web Part library" >
            <WebPartsTemplate>
            </WebPartsTemplate>
        </asp:DeclarativeCatalogPart>
        <asp:PageCatalogPart ID="PageCatalogPart1" runat="server" />
      </ZoneTemplate>
    </wp:WebPartCatalogZone>
    <cc1:TrOkCancelEditorButtons ID="TrOkCancelEditorButtons1" runat="server" />
    <cc1:TrEditorZone ID="EditorZone1" runat="server" >
      <ZoneTemplate>
       <asp:PropertyGridEditorPart ID="PropertyGridEditorPart1" runat="server" Title="Edit Custom Properties" />
       <base1:TrAppearanceEditorPart ID="TrAppearanceEditorPart1" runat="server"/>
       <base1:TrLayoutEditorPart ID="TrLayoutEditorPart1" runat="server"/>
      </ZoneTemplate>
    </cc1:TrEditorZone>
</asp:TableCell></asp:TableRow></asp:Table>

The ASP.NET markup code displayed above is used to display the TrackerRealm COR and Jetfire catalog.

    <jfwp:JetfireCatalogZone ID="CatalogZone1" runat="server" >

COR Web Part Libaries are displayed by replacing 'jfwp:JetfireCatalogZone' in the code displayed above with:

    <cc1:TrCatalogZone ID="CatalogZone1" runat="server" >

All TrackerRealm Web Part Libraries are displayed by replacing 'jfwp:JetfireCatalogZone' in the code displayed above with:

    <wp:WebPartCatalogZone ID="CatalogZone1" runat="server" >