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
Datei anzeigen 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_oe property

protected HtmlLink AtomLink
return HtmlLink

CenterBodyControl protected_oe property

protected PlaceHolder CenterBodyControl
return PlaceHolder

CommentsPanelId public_oe static_oe property

public static string CommentsPanelId
return string

CurrentBlog protected_oe property

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

CurrentSkin protected_oe property

protected SkinConfig CurrentSkin
return SkinConfig

CustomCss protected_oe property

protected HtmlLink CustomCss
return HtmlLink

RSSLink protected_oe property

protected HtmlLink RSSLink
return HtmlLink

Rsd protected_oe property

protected HtmlLink Rsd
return HtmlLink

authorMetaTag protected_oe property

protected Literal authorMetaTag
return Literal

commentsControl protected_oe property

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

customTrackingCode protected_oe property

protected Literal customTrackingCode
return Literal

docTypeDeclaration protected_oe property

protected Literal docTypeDeclaration
return Literal

metaTagsPlaceHolder protected_oe property

protected PlaceHolder metaTagsPlaceHolder
return PlaceHolder

openIDDelegate protected_oe property

protected Literal openIDDelegate
return Literal

openIDServer protected_oe property

protected Literal openIDServer
return Literal

pageTitle protected_oe property

protected Literal pageTitle
return Literal

postCommentControl protected_oe property

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

scripts protected_oe property

protected Literal scripts
return Literal

styles protected_oe property

protected Literal styles
return Literal

versionMetaTag protected_oe property

protected Literal versionMetaTag
return Literal

virtualBlogRoot protected_oe property

protected Literal virtualBlogRoot
return Literal

virtualRoot protected_oe property

protected Literal virtualRoot
return Literal