C# Класс 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.
Наследование: System.Web.UI.Page
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

AddDefaultLanguages() защищенный Метод

Adds the default stylesheet language
protected AddDefaultLanguages ( ) : void
Результат void

AddGenericLink() публичный Метод

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. ///
Результат void

AddGenericLink() публичный Метод

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. ///
Результат void

AddMetaContentType() защищенный Метод

Adds the content-type meta tag to the header.
protected AddMetaContentType ( ) : void
Результат void

AddMetaTag() защищенный Метод

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. ///
Результат void

OnError() защищенный Метод

Raises the event.
protected OnError ( EventArgs e ) : void
e System.EventArgs /// An that contains the event data. ///
Результат void

OnLoad() защищенный Метод

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.
Результат void

OnPreInit() защищенный Метод

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.
Результат void

OnPreRenderComplete() защищенный Метод

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. ///
Результат void

Render() защищенный Метод

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. ///
Результат void