C# Class Subtext.Web.UI.Pages.SubtextMasterPage

This serves as the master page for every page within the site (except for the admin section. This page contains a PlaceHolder in which the PageTemplate.ascx control within each skin is loaded.
Inheritance: Subtext.Framework.Web.Handlers.SubtextPage, IPageWithControls, IContainerControl
Show file Open project: ayende/Subtext Class Usage Examples

Public Properties

Property Type Description
CommentsPanelId string

Protected Properties

Property Type Description
AtomLink HtmlLink
CenterBodyControl PlaceHolder
CurrentBlog Subtext.Framework.BlogInfo
CurrentSkin SkinConfig
CustomCss HtmlLink
RSSLink HtmlLink
Rsd HtmlLink
authorMetaTag Literal
commentsControl Subtext.Web.UI.Controls.Comments
customTrackingCode Literal
docTypeDeclaration Literal
metaTagsPlaceHolder PlaceHolder
openIDDelegate Literal
openIDServer Literal
pageTitle Literal
postCommentControl Subtext.Web.UI.Controls.PostComment
scripts Literal
styles Literal
versionMetaTag Literal
virtualBlogRoot Literal
virtualRoot Literal

Protected Methods

Method Description
LoadPageStateFromPersistenceMedium ( ) : object

Loads the page state from persistence medium. In this case this returns null as we are not using ViewState.

OnInit ( EventArgs e ) : void

Initializes this blog page, applying skins and whatnot.

OnPreRender ( EventArgs e ) : void

Before rendering, turns off ViewState again (why? not sure), applies skins and stylesheet references, and sets the page title.

SavePageStateToPersistenceMedium ( object viewState ) : void

Saves the page state to persistence medium. In this case this does nothing as we are not using ViewState.

Private Methods

Method Description
InitializeBlogPage ( ) : void
postCommentControl_CommentPosted ( object sender, EventArgs e ) : void

Method Details

LoadPageStateFromPersistenceMedium() protected method

Loads the page state from persistence medium. In this case this returns null as we are not using ViewState.
protected LoadPageStateFromPersistenceMedium ( ) : object
return object

OnInit() protected method

Initializes this blog page, applying skins and whatnot.
protected OnInit ( EventArgs e ) : void
e System.EventArgs E.
return void

OnPreRender() protected method

Before rendering, turns off ViewState again (why? not sure), applies skins and stylesheet references, and sets the page title.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs E.
return void

SavePageStateToPersistenceMedium() protected method

Saves the page state to persistence medium. In this case this does nothing as we are not using ViewState.
protected SavePageStateToPersistenceMedium ( object viewState ) : void
viewState object State of the view.
return void

Property Details

AtomLink protected property

protected HtmlLink AtomLink
return HtmlLink

CenterBodyControl protected property

protected PlaceHolder CenterBodyControl
return PlaceHolder

CommentsPanelId public static property

public static string CommentsPanelId
return string

CurrentBlog protected property

protected BlogInfo,Subtext.Framework CurrentBlog
return Subtext.Framework.BlogInfo

CurrentSkin protected property

protected SkinConfig CurrentSkin
return SkinConfig

CustomCss protected property

protected HtmlLink CustomCss
return HtmlLink

RSSLink protected property

protected HtmlLink RSSLink
return HtmlLink

Rsd protected property

protected HtmlLink Rsd
return HtmlLink

authorMetaTag protected property

protected Literal authorMetaTag
return Literal

commentsControl protected property

protected Comments,Subtext.Web.UI.Controls commentsControl
return Subtext.Web.UI.Controls.Comments

customTrackingCode protected property

protected Literal customTrackingCode
return Literal

docTypeDeclaration protected property

protected Literal docTypeDeclaration
return Literal

metaTagsPlaceHolder protected property

protected PlaceHolder metaTagsPlaceHolder
return PlaceHolder

openIDDelegate protected property

protected Literal openIDDelegate
return Literal

openIDServer protected property

protected Literal openIDServer
return Literal

pageTitle protected property

protected Literal pageTitle
return Literal

postCommentControl protected property

protected PostComment,Subtext.Web.UI.Controls postCommentControl
return Subtext.Web.UI.Controls.PostComment

scripts protected property

protected Literal scripts
return Literal

styles protected property

protected Literal styles
return Literal

versionMetaTag protected property

protected Literal versionMetaTag
return Literal

virtualBlogRoot protected property

protected Literal virtualBlogRoot
return Literal

virtualRoot protected property

protected Literal virtualRoot
return Literal