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

Inheritance: System.Web.UI.WebControls.CheckBox, IRockControl
Exibir arquivo Open project: NewSpring/Rock Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the base control.

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.

RockCheckBox ( ) : System.ComponentModel

Initializes a new instance of the RockCheckBox class.

Protected Methods

Method 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.

OnPreRender ( System e ) : void

Registers client script for generating postback prior to rendering on the client if P:System.Web.UI.WebControls.CheckBox.AutoPostBack is true.

Method Details

CreateChildControls() protected method

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
return void

OnPreRender() protected method

Registers client script for generating postback prior to rendering on the client if P:System.Web.UI.WebControls.CheckBox.AutoPostBack is true.
protected OnPreRender ( System e ) : void
e System An that contains the event data.
return void

RenderBaseControl() public method

Renders the base control.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
return void

RenderControl() public method

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.
return void

RockCheckBox() public method

Initializes a new instance of the RockCheckBox class.
public RockCheckBox ( ) : System.ComponentModel
return System.ComponentModel