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

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

Private Properties

프로퍼티 타입 설명
RegisterJavascript void

공개 메소드들

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

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.

Toggle ( ) : System

Initializes a new instance of the Toggle class.

보호된 메소드들

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

OnLoad ( EventArgs e ) : void

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

btnOnOff_ServerClick ( object sender, EventArgs e ) : void

Handles the ServerClick event of the btnOnOff control.

비공개 메소드들

메소드 설명
RegisterJavascript ( ) : void

Registers the javascript.

메소드 상세

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

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

RenderBaseControl() 공개 메소드

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 RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
리턴 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

Toggle() 공개 메소드

Initializes a new instance of the Toggle class.
public Toggle ( ) : System
리턴 System

btnOnOff_ServerClick() 보호된 메소드

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