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

Inheritance: System.Web.UI.WebControls.CompositeControl, IRockControl
ファイルを表示 Open project: NewSpring/Rock Class Usage Examples

Public Properties

Property Type Description
_dropDownList RockDropDownList
_textBox RockTextBox

Public Methods

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

This is where you implment the simple aspects of rendering your control. The rest will be handled by calling RenderControlHelper's RenderControl() method.

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.

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.

Private Methods

Method Description
RegisterClientScript ( ) : void

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

RenderBaseControl() public method

This is where you implment the simple aspects of rendering your control. The rest will be handled by calling RenderControlHelper's RenderControl() method.
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

Property Details

_dropDownList public_oe property

The _drop down list
public RockDropDownList,Rock.Web.UI.Controls _dropDownList
return RockDropDownList

_textBox public_oe property

The _text box
public RockTextBox,Rock.Web.UI.Controls _textBox
return RockTextBox