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
Afficher le fichier Open project: rasmuskl/ReSharperCourse Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

Adds the default stylesheet language
protected AddDefaultLanguages ( ) : void
Résultat void

AddGenericLink() public méthode

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. ///
Résultat void

AddGenericLink() public méthode

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. ///
Résultat void

AddMetaContentType() protected méthode

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

AddMetaTag() protected méthode

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. ///
Résultat void

OnError() protected méthode

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

OnLoad() protected méthode

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.
Résultat void

OnPreInit() protected méthode

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.
Résultat void

OnPreRenderComplete() protected méthode

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. ///
Résultat void

Render() protected méthode

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. ///
Résultat void