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
Exibir arquivo 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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