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

Inheritance: System.Web.UI.WebControls.DropDownList, IRockControl, IDisplayRequiredIndicator
Show file 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.

RockDropDownList ( ) : System.Collections.Generic

Initializes a new instance of the RockDropDownList 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.

CreateControlCollection ( ) : System.Web.UI.ControlCollection

Creates a collection to store child controls.

LoadViewState ( object savedState ) : void

Loads the previously saved view state of the T:System.Web.UI.WebControls.DetailsView control.

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

Renders any data validator.

SaveViewState ( ) : object

Saves the current view state of the T:System.Web.UI.WebControls.ListControl -derived control and the items it contains.

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

CreateControlCollection() protected method

Creates a collection to store child controls.
protected CreateControlCollection ( ) : System.Web.UI.ControlCollection
return System.Web.UI.ControlCollection

LoadViewState() protected method

Loads the previously saved view state of the T:System.Web.UI.WebControls.DetailsView control.
protected LoadViewState ( object savedState ) : void
savedState object An that represents the state of the -derived control.
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

RenderDataValidator() protected method

Renders any data validator.
protected RenderDataValidator ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
return void

RockDropDownList() public method

Initializes a new instance of the RockDropDownList class.
public RockDropDownList ( ) : System.Collections.Generic
return System.Collections.Generic

SaveViewState() protected method

Saves the current view state of the T:System.Web.UI.WebControls.ListControl -derived control and the items it contains.
protected SaveViewState ( ) : object
return object