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

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

Private Properties

프로퍼티 타입 설명
CreateFieldTypeDetailControls void
RegisterClientScript void
_ddlFieldType_SelectedIndexChanged void

공개 메소드들

메소드 설명
GetAttributeProperties ( Rock attribute ) : void

Gets the attribute properties.

SetAttributeProperties ( Rock attribute, Type objectType = null ) : void

Sets the attribute properties.

보호된 메소드들

메소드 설명
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.

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.

OnInit ( EventArgs e ) : void

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

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.

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

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.

SaveViewState ( ) : object

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

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

cvKey_ServerValidate ( object source, System.Web.UI.WebControls.ServerValidateEventArgs args ) : void

Handles the ServerValidate event of the cvKey control.

비공개 메소드들

메소드 설명
CreateFieldTypeDetailControls ( int fieldTypeId, bool recreate = false ) : void

Creates the field type detail controls.

RegisterClientScript ( ) : void

Registers the client script.

_ddlFieldType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the _ddlFieldType control.

메소드 상세

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

GetAttributeProperties() 공개 메소드

Gets the attribute properties.
public GetAttributeProperties ( Rock attribute ) : void
attribute Rock The attribute.
리턴 void

LoadViewState() 보호된 메소드

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.
리턴 void

OnInit() 보호된 메소드

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
리턴 void

OnLoad() 보호된 메소드

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

OnPreRender() 보호된 메소드

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
리턴 void

Render() 보호된 메소드

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter An that represents the output stream to render HTML content on the client.
리턴 void

SaveViewState() 보호된 메소드

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

SetAttributeProperties() 공개 메소드

Sets the attribute properties.
public SetAttributeProperties ( Rock attribute, Type objectType = null ) : void
attribute Rock The attribute.
objectType System.Type Type of the object.
리턴 void

btnCancel_Click() 보호된 메소드

Handles the Click event of the btnCancel control.
protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 void

btnSave_Click() 보호된 메소드

Handles the Click event of the btnSave control.
protected btnSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 void

cvKey_ServerValidate() 보호된 메소드

Handles the ServerValidate event of the cvKey control.
protected cvKey_ServerValidate ( object source, System.Web.UI.WebControls.ServerValidateEventArgs args ) : void
source object The source of the event.
args System.Web.UI.WebControls.ServerValidateEventArgs The instance containing the event data.
리턴 void