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

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

Public Methods

Method Description
GetBestPickerModeForLocation ( Location location ) : LocationPickerMode

Gets the best picker mode for location.

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.

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.

HandleModePostback ( ) : void

Handles the CheckedChanged event of the _radMode control.

LoadViewState ( object savedState ) : void

Restores view-state information from a previous request that was saved with the M:System.Web.UI.WebControls.WebControl.SaveViewState method.

OnLoad ( EventArgs e ) : void

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

OnPreRender ( EventArgs e ) : void

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

SaveViewState ( ) : object

Saves any state that was modified after the M:System.Web.UI.WebControls.Style.TrackViewState method was invoked.

_addressPicker_SelectGeography ( object sender, EventArgs e ) : void

Handles the SelectGeography event of the _addressPicker control.

_pointPicker_SelectGeography ( object sender, EventArgs e ) : void

Handles the SelectGeography event of the _pointPicker control.

_polygonPicker_SelectGeography ( object sender, EventArgs e ) : void

Handles the SelectGeography event of the _polygonPicker 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

GetBestPickerModeForLocation() public method

Gets the best picker mode for location.
public GetBestPickerModeForLocation ( Location location ) : LocationPickerMode
location Location The location.
return LocationPickerMode

HandleModePostback() protected method

Handles the CheckedChanged event of the _radMode control.
protected HandleModePostback ( ) : void
return void

LoadViewState() protected method

Restores view-state information from a previous request that was saved with the M:System.Web.UI.WebControls.WebControl.SaveViewState method.
protected LoadViewState ( object savedState ) : void
savedState object An object that represents the control state to restore.
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

OnPreRender() protected method

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
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

SaveViewState() protected method

Saves any state that was modified after the M:System.Web.UI.WebControls.Style.TrackViewState method was invoked.
protected SaveViewState ( ) : object
return object

_addressPicker_SelectGeography() protected method

Handles the SelectGeography event of the _addressPicker control.
protected _addressPicker_SelectGeography ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

_pointPicker_SelectGeography() protected method

Handles the SelectGeography event of the _pointPicker control.
protected _pointPicker_SelectGeography ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

_polygonPicker_SelectGeography() protected method

Handles the SelectGeography event of the _polygonPicker control.
protected _polygonPicker_SelectGeography ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void