C# Class Profiles.Framework.Template

Template.Master.cs Used as the master page template for all profiles framework UI pages. Each Panel area of the template is managed by a repeater control. Each Repeater control will be bound to a List of List objects that are based on the PresentationXML PannelList/Panel/Module node for each panel.
Inheritance: System.Web.UI.MasterPage
Show file Open project: ProfilesRNS/ProfilesRNS

Protected Properties

Property Type Description
ContentActive global::System.Web.UI.WebControls.ContentPlaceHolder
ContentFooter global::System.Web.UI.WebControls.ContentPlaceHolder
ContentHeader global::System.Web.UI.WebControls.ContentPlaceHolder
ContentMain global::System.Web.UI.WebControls.ContentPlaceHolder
ContentPassive global::System.Web.UI.WebControls.ContentPlaceHolder
Head1 global::System.Web.UI.HtmlControls.HtmlHead
bodyMaster global::System.Web.UI.HtmlControls.HtmlGenericControl
divPageColumnRightCenter global::System.Web.UI.HtmlControls.HtmlGenericControl
divProfilesContentMain global::System.Web.UI.HtmlControls.HtmlGenericControl
divProfilesHeader global::System.Web.UI.HtmlControls.HtmlGenericControl
divProfilesMainColumnLeft global::System.Web.UI.HtmlControls.HtmlTableCell
divProfilesPage global::System.Web.UI.HtmlControls.HtmlGenericControl
divProfilesPageColumnRightTopLine global::System.Web.UI.HtmlControls.HtmlGenericControl
form1 global::System.Web.UI.HtmlControls.HtmlForm
head global::System.Web.UI.WebControls.ContentPlaceHolder
litBackLink global::System.Web.UI.WebControls.Literal
litPageDescription global::System.Web.UI.WebControls.Literal
litPageSubTitle global::System.Web.UI.WebControls.Literal
litPageTitle global::System.Web.UI.WebControls.Literal
litTabs global::System.Web.UI.WebControls.Literal
rptActive global::System.Web.UI.WebControls.Repeater
rptFooter global::System.Web.UI.WebControls.Repeater
rptHeader global::System.Web.UI.WebControls.Repeater
rptMain global::System.Web.UI.WebControls.Repeater
rptPage global::System.Web.UI.WebControls.Repeater
rptPassive global::System.Web.UI.WebControls.Repeater
tblTableBody global::System.Web.UI.HtmlControls.HtmlTable
tdProfilesMainColumnRight global::System.Web.UI.HtmlControls.HtmlTableCell
toolkitScriptMaster global::AjaxControlToolkit.ToolkitScriptManager
trbody global::System.Web.UI.HtmlControls.HtmlTableRow

Public Methods

Method Description
BindRepeaterToPanel ( Repeater &repeater, List panels ) : void

Used to bind a repeater for a given Panel to a List of Modules. Each panel is defined by a type. Each type can be assigned one or more modules.

GetURLDomain ( ) : string

Protected Methods

Method Description
DrawModule ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

Each repeater on the master page will fire this event when its bound with presentation xml data.

DrawTabs ( ) : void

Draws the Tabs dispaly based on the presentation xml and the restful URL pattern.

GetStringFromPresentationXML ( string XPath ) : string
LoadAssets ( ) : void

Used to set the link for css/js client Assets

Page_Load ( object sender, EventArgs e ) : void
ProcessPresentationXML ( ) : void

Private Methods

Method Description
GetPanelByType ( string paneltype ) : List
GetUniversalAnalyticsJavascipt ( string trackingID, string domain, string trackingID2, string domain2 ) : string
InitFrameworkPanels ( ) : void

Method Details

BindRepeaterToPanel() public method

Used to bind a repeater for a given Panel to a List of Modules. Each panel is defined by a type. Each type can be assigned one or more modules.
public BindRepeaterToPanel ( Repeater &repeater, List panels ) : void
repeater System.Web.UI.WebControls.Repeater A repeater control is passed by ref to this method.
panels List
return void

DrawModule() protected method

Each repeater on the master page will fire this event when its bound with presentation xml data.
protected DrawModule ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object
e System.Web.UI.WebControls.RepeaterItemEventArgs
return void

DrawTabs() protected method

Draws the Tabs dispaly based on the presentation xml and the restful URL pattern.
protected DrawTabs ( ) : void
return void

GetStringFromPresentationXML() protected method

protected GetStringFromPresentationXML ( string XPath ) : string
XPath string
return string

GetURLDomain() public method

public GetURLDomain ( ) : string
return string

LoadAssets() protected method

Used to set the link for css/js client Assets
protected LoadAssets ( ) : void
return void

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

ProcessPresentationXML() protected method

protected ProcessPresentationXML ( ) : void
return void

Property Details

ContentActive protected property

ContentActive control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentActive
return global::System.Web.UI.WebControls.ContentPlaceHolder

ContentFooter protected property

ContentFooter control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentFooter
return global::System.Web.UI.WebControls.ContentPlaceHolder

ContentHeader protected property

ContentHeader control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentHeader
return global::System.Web.UI.WebControls.ContentPlaceHolder

ContentMain protected property

ContentMain control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentMain
return global::System.Web.UI.WebControls.ContentPlaceHolder

ContentPassive protected property

ContentPassive control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPassive
return global::System.Web.UI.WebControls.ContentPlaceHolder

Head1 protected property

Head1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlHead Head1
return global::System.Web.UI.HtmlControls.HtmlHead

bodyMaster protected property

bodyMaster control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl bodyMaster
return global::System.Web.UI.HtmlControls.HtmlGenericControl

divPageColumnRightCenter protected property

divPageColumnRightCenter control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divPageColumnRightCenter
return global::System.Web.UI.HtmlControls.HtmlGenericControl

divProfilesContentMain protected property

divProfilesContentMain control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divProfilesContentMain
return global::System.Web.UI.HtmlControls.HtmlGenericControl

divProfilesHeader protected property

divProfilesHeader control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divProfilesHeader
return global::System.Web.UI.HtmlControls.HtmlGenericControl

divProfilesMainColumnLeft protected property

divProfilesMainColumnLeft control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlTableCell divProfilesMainColumnLeft
return global::System.Web.UI.HtmlControls.HtmlTableCell

divProfilesPage protected property

divProfilesPage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divProfilesPage
return global::System.Web.UI.HtmlControls.HtmlGenericControl

divProfilesPageColumnRightTopLine protected property

divProfilesPageColumnRightTopLine control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divProfilesPageColumnRightTopLine
return global::System.Web.UI.HtmlControls.HtmlGenericControl

form1 protected property

form1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlForm form1
return global::System.Web.UI.HtmlControls.HtmlForm

head protected property

head control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ContentPlaceHolder head
return global::System.Web.UI.WebControls.ContentPlaceHolder

litBackLink protected property

litBackLink control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal litBackLink
return global::System.Web.UI.WebControls.Literal

litPageDescription protected property

litPageDescription control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal litPageDescription
return global::System.Web.UI.WebControls.Literal

litPageSubTitle protected property

litPageSubTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal litPageSubTitle
return global::System.Web.UI.WebControls.Literal

litPageTitle protected property

litPageTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal litPageTitle
return global::System.Web.UI.WebControls.Literal

litTabs protected property

litTabs control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal litTabs
return global::System.Web.UI.WebControls.Literal

rptActive protected property

rptActive control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Repeater rptActive
return global::System.Web.UI.WebControls.Repeater

rptFooter protected property

rptFooter control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Repeater rptFooter
return global::System.Web.UI.WebControls.Repeater

rptHeader protected property

rptHeader control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Repeater rptHeader
return global::System.Web.UI.WebControls.Repeater

rptMain protected property

rptMain control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Repeater rptMain
return global::System.Web.UI.WebControls.Repeater

rptPage protected property

rptPage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Repeater rptPage
return global::System.Web.UI.WebControls.Repeater

rptPassive protected property

rptPassive control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Repeater rptPassive
return global::System.Web.UI.WebControls.Repeater

tblTableBody protected property

tblTableBody control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlTable tblTableBody
return global::System.Web.UI.HtmlControls.HtmlTable

tdProfilesMainColumnRight protected property

tdProfilesMainColumnRight control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlTableCell tdProfilesMainColumnRight
return global::System.Web.UI.HtmlControls.HtmlTableCell

toolkitScriptMaster protected property

toolkitScriptMaster control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::AjaxControlToolkit.ToolkitScriptManager toolkitScriptMaster
return global::AjaxControlToolkit.ToolkitScriptManager

trbody protected property

trbody control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlTableRow trbody
return global::System.Web.UI.HtmlControls.HtmlTableRow