C# Class App_Code.Controls.WidgetZone

The widget zone.
Inheritance: System.Web.UI.WebControls.PlaceHolder
Afficher le fichier Open project: rasmuskl/ReSharperCourse

Private Properties

Свойство Type Description
OnZonesUpdated void
RetrieveXml System.Xml.XmlDocument
WidgetZone System

Méthodes publiques

Méthode Description
PreloadWidgetsAsync ( string zoneName ) : void

This method is intended to be called once during FirstRequestInitialization right before LoadExtension() which is another time consuming routine. By preloading the widgets asyncronously in this method, this time consuming work is done in a manner that reduces the time to load the first page.

Méthodes protégées

Méthode Description
OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the event.

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

Sends server control content to a provided object, which writes the content to be rendered on the client.

Private Methods

Méthode Description
OnZonesUpdated ( ) : void

Called when [zones updated].

RetrieveXml ( string zoneName ) : XmlDocument

Retrieves the XML.

WidgetZone ( ) : System

Initializes static members of the WidgetZone class.

Method Details

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs /// An object that contains the event data. ///
Résultat void

OnLoad() protected méthode

Raises the event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs /// The object that contains the event data. ///
Résultat void

PreloadWidgetsAsync() public static méthode

This method is intended to be called once during FirstRequestInitialization right before LoadExtension() which is another time consuming routine. By preloading the widgets asyncronously in this method, this time consuming work is done in a manner that reduces the time to load the first page.
public static PreloadWidgetsAsync ( string zoneName ) : void
zoneName string Typically "be_WIDGET_ZONE"
Résultat void

Render() protected méthode

Sends server control content to a provided object, which writes the content to be rendered on the client.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter /// The object /// that receives the server control content. ///
Résultat void