C# Class Rock.Web.UI.Controls.Toggle

Inheritance: System.Web.UI.WebControls.CompositeControl, IRockControl
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Private Properties

Свойство Type Description
RegisterJavascript void

Méthodes publiques

Méthode Description
RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

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

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

Toggle ( ) : System

Initializes a new instance of the Toggle class.

Méthodes protégées

Méthode Description
CreateChildControls ( ) : void

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.

OnLoad ( EventArgs e ) : void

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

btnOnOff_ServerClick ( object sender, EventArgs e ) : void

Handles the ServerClick event of the btnOnOff control.

Private Methods

Méthode Description
RegisterJavascript ( ) : void

Registers the javascript.

Method Details

CreateChildControls() protected méthode

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
protected CreateChildControls ( ) : void
Résultat void

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

RenderBaseControl() public méthode

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
Résultat void

RenderControl() public méthode

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
Résultat void

Toggle() public méthode

Initializes a new instance of the Toggle class.
public Toggle ( ) : System
Résultat System

btnOnOff_ServerClick() protected méthode

Handles the ServerClick event of the btnOnOff control.
protected btnOnOff_ServerClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void