C# Class BlogEngine.Core.Web.Controls.BlogBasePage

All pages in the custom themes as well as pre-defined pages in the root must inherit from this class.
The class is responsible for assigning the theme to all derived pages as well as adding RSS, RSD, tracking script and a whole lot more.
Inheritance: System.Web.UI.Page
Mostrar archivo Open project: rasmuskl/ReSharperCourse Class Usage Examples

Public Methods

Method Description
AddGenericLink ( string relation, string title, string href ) : void

Adds the generic link to the header.

AddGenericLink ( string type, string relation, string title, string href ) : void

Adds the generic link to the header.

Protected Methods

Method Description
AddDefaultLanguages ( ) : void

Adds the default stylesheet language

AddMetaContentType ( ) : void

Adds the content-type meta tag to the header.

AddMetaTag ( string name, string value ) : void

Add a meta tag to the page's header.

OnError ( EventArgs e ) : void

Raises the event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event. Adds links and javascript to the HTML header tag.

OnPreInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Page.PreInit event at the beginning of page initialization. Assignes the selected theme to the pages.

OnPreRenderComplete ( EventArgs e ) : void

Raises the event after the event and before the page is rendered.

Render ( System.Web.UI.HtmlTextWriter writer ) : void

Initializes the object and calls on the child controls of the to render.

Method Details

AddDefaultLanguages() protected method

Adds the default stylesheet language
protected AddDefaultLanguages ( ) : void
return void

AddGenericLink() public method

Adds the generic link to the header.
public AddGenericLink ( string relation, string title, string href ) : void
relation string /// The relation string. ///
title string /// The title string. ///
href string /// The href string. ///
return void

AddGenericLink() public method

Adds the generic link to the header.
public AddGenericLink ( string type, string relation, string title, string href ) : void
type string /// The type string. ///
relation string /// The relation string. ///
title string /// The title string. ///
href string /// The href string. ///
return void

AddMetaContentType() protected method

Adds the content-type meta tag to the header.
protected AddMetaContentType ( ) : void
return void

AddMetaTag() protected method

Add a meta tag to the page's header.
protected AddMetaTag ( string name, string value ) : void
name string /// The tag name. ///
value string /// The tag value. ///
return void

OnError() protected method

Raises the event.
protected OnError ( EventArgs e ) : void
e System.EventArgs /// An that contains the event data. ///
return void

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event. Adds links and javascript to the HTML header tag.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
return void

OnPreInit() protected method

Raises the E:System.Web.UI.Page.PreInit event at the beginning of page initialization. Assignes the selected theme to the pages.
protected OnPreInit ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
return void

OnPreRenderComplete() protected method

Raises the event after the event and before the page is rendered.
protected OnPreRenderComplete ( EventArgs e ) : void
e System.EventArgs /// An that contains the event data. ///
return void

Render() protected method

Initializes the object and calls on the child controls of the to render.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter /// The that receives the page content. ///
return void