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

Inheritance: System.Web.UI.WebControls.CompositeControl, IRockControl
Show file Open project: NewSpring/Rock Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
PersonPicker ( ) : System

Initializes a new instance of the PersonPicker class.

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

Renders the T:System.Web.UI.WebControls.TextBox control to the specified T:System.Web.UI.HtmlTextWriter object.

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.

SetValue ( Rock person ) : void

Sets the value.

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.

OnInit ( EventArgs e ) : void

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

RegisterJavaScript ( ) : void

Registers the java script.

btnSelect_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSelect control.

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

OnInit() protected method

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

PersonPicker() public method

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

RegisterJavaScript() protected method

Registers the java script.
protected RegisterJavaScript ( ) : void
return void

RenderBaseControl() public method

Renders the T:System.Web.UI.WebControls.TextBox control to the specified T:System.Web.UI.HtmlTextWriter object.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The that receives the rendered output.
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

SetValue() public method

Sets the value.
public SetValue ( Rock person ) : void
person Rock The person.
return void

btnSelect_Click() protected method

Handles the Click event of the btnSelect control.
protected btnSelect_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void