C# 클래스 Rock.Web.UI.Controls.AddressControl

상속: System.Web.UI.WebControls.CompositeControl, IRockControl
파일 보기 프로젝트 열기: SparkDevNetwork/Rock 1 사용 예제들

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