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

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

Private Properties

Property Type Description
SetPickerOnClick void

Public Methods

Method Description
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 ( Location value ) : 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.

OnLoad ( EventArgs e ) : void

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

RegisterJavaScript ( ) : void

Registers the java script.

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

Renders the control to the specified HTML writer.

_btnSelectNone_ServerClick ( object sender, EventArgs e ) : void

Handles the Click event of the _btnSelectNone control.

_btnSelect_Click ( object sender, EventArgs e ) : void

Handles the Click event of the _btnSelect control.

Private Methods

Method Description
SetPickerOnClick ( ) : void

Sets onclick script for the PickerLabel btn depending on Enabled

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

OnLoad() protected method

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

RegisterJavaScript() protected method

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

Render() protected method

Renders the control to the specified HTML writer.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
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 ( Location value ) : void
value Location The value.
return void

_btnSelectNone_ServerClick() protected method

Handles the Click event of the _btnSelectNone control.
protected _btnSelectNone_ServerClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
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