C# Класс Rock.Web.UI.Controls.AddressControl

Наследование: System.Web.UI.WebControls.CompositeControl, IRockControl
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
BindCountries void
BindStates void
SetOrganizationAddressDefaults void

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
BindCountries ( ) : void

Binds the countries.

BindStates ( string country ) : void

Binds the states.

SetOrganizationAddressDefaults ( ) : void

Sets the organization address defaults.

Описание методов

AddressControl() публичный Метод

Initializes a new instance of the AddressControl class.
public AddressControl ( ) : System
Результат System

CreateChildControls() защищенный Метод

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
Результат void

GetDefaultCountry() публичный Метод

Gets the default country.
public GetDefaultCountry ( ) : string
Результат string

GetDefaultState() публичный Метод

Gets the default state.
public GetDefaultState ( ) : string
Результат string

GetValues() публичный Метод

Gets the values.
public GetValues ( Rock location ) : void
location Rock The location.
Результат void

RenderBaseControl() публичный Метод

Renders the base control.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
Результат void

RenderControl() публичный Метод

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.
Результат void

SetValues() публичный Метод

Sets the values.
public SetValues ( Rock location ) : void
location Rock The location.
Результат void

_ddlCountry_SelectedIndexChanged() публичный Метод

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.
Результат void