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

Helper class to intialize and render rock controls with Bootstrap html elements
파일 보기 프로젝트 열기: SparkDevNetwork/Rock 1 사용 예제들

공개 메소드들

메소드 설명
CreateChildControls ( IRockControl rockControl, System.Web.UI.ControlCollection controls ) : void

Creates the child controls and handles adding the required field validator control.

Init ( IRockControl rockControl ) : void

Inits the specified rock control.

RenderControl ( IRockControl rockControl, System.Web.UI.HtmlTextWriter writer, string additionalCssClass = "" ) : void

Renders the control which handles adding all the IRockControl common pieces (Label, Help, etc.).

RenderControl ( string label, Control control, System.Web.UI.HtmlTextWriter writer ) : void

메소드 상세

CreateChildControls() 공개 정적인 메소드

Creates the child controls and handles adding the required field validator control.
public static CreateChildControls ( IRockControl rockControl, System.Web.UI.ControlCollection controls ) : void
rockControl IRockControl The rock control.
controls System.Web.UI.ControlCollection The controls.
리턴 void

Init() 공개 정적인 메소드

Inits the specified rock control.
public static Init ( IRockControl rockControl ) : void
rockControl IRockControl The rock control.
리턴 void

RenderControl() 공개 정적인 메소드

Renders the control which handles adding all the IRockControl common pieces (Label, Help, etc.).
public static RenderControl ( IRockControl rockControl, System.Web.UI.HtmlTextWriter writer, string additionalCssClass = "" ) : void
rockControl IRockControl The rock control.
writer System.Web.UI.HtmlTextWriter The writer.
additionalCssClass string The additional CSS class.
리턴 void

RenderControl() 공개 정적인 메소드

public static RenderControl ( string label, Control control, System.Web.UI.HtmlTextWriter writer ) : void
label string
control System.Web.UI.Control
writer System.Web.UI.HtmlTextWriter
리턴 void