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

Inheritance: System.Web.UI.WebControls.CompositeControl, IRockControl
Afficher le fichier Open project: SparkDevNetwork/Rock Class Usage Examples

Private Properties

Свойство Type Description
BindCountries void
BindStates void
SetOrganizationAddressDefaults void

Méthodes publiques

Méthode Description
AddressControl ( ) : System

Initializes a new instance of the AddressControl class.

GetDefaultCountry ( ) : string

Gets the default country.

GetDefaultState ( ) : string

Gets the default state.

GetValues ( Rock location ) : void

Gets the values.

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.

SetValues ( Rock location ) : void

Sets the values.

_ddlCountry_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the _ddlCountry control.

Méthodes protégées

Méthode 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

Méthode Description
BindCountries ( ) : void

Binds the countries.

BindStates ( string country ) : void

Binds the states.

SetOrganizationAddressDefaults ( ) : void

Sets the organization address defaults.

Method Details

AddressControl() public méthode

Initializes a new instance of the AddressControl class.
public AddressControl ( ) : System
Résultat System

CreateChildControls() protected méthode

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
Résultat void

GetDefaultCountry() public méthode

Gets the default country.
public GetDefaultCountry ( ) : string
Résultat string

GetDefaultState() public méthode

Gets the default state.
public GetDefaultState ( ) : string
Résultat string

GetValues() public méthode

Gets the values.
public GetValues ( Rock location ) : void
location Rock The location.
Résultat void

RenderBaseControl() public méthode

Renders the base control.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
Résultat void

RenderControl() public méthode

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.
Résultat void

SetValues() public méthode

Sets the values.
public SetValues ( Rock location ) : void
location Rock The location.
Résultat void

_ddlCountry_SelectedIndexChanged() public méthode

Handles the SelectedIndexChanged event of the _ddlCountry control.
public _ddlCountry_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void