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

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

공개 메소드들

메소드 설명
DeleteUserPreferences ( ) : void

Deletes the user preferences.

GetUserPreference ( string key ) : string

Gets the user preference for a given key if it exists

GridFilter ( ) : System

Initializes a new instance of the GridFilter class.

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.

SaveUserPreference ( string key, string value ) : void

Adds or updates an item in the User Preferences dictionary

SaveUserPreference ( string key, string name, string value ) : void

Adds or updates an item in the User Preferences dictionary

Show ( ) : void

Shows the filter in expanded mode

보호된 메소드들

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

OnInit ( EventArgs e ) : void

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

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

Outputs the content of a server control's children to a provided T:System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.

lbClearFilter_Click ( object sender, EventArgs e ) : void

Handles the Click event of the _lbClearFilter control.

lbFilter_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbFilter control.

비공개 메소드들

메소드 설명
RegisterJavaScript ( ) : void

Registers the java script.

SaveUserPreferences ( ) : void

Saves the user preferences.

메소드 상세

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

DeleteUserPreferences() 공개 메소드

Deletes the user preferences.
public DeleteUserPreferences ( ) : void
리턴 void

GetUserPreference() 공개 메소드

Gets the user preference for a given key if it exists
public GetUserPreference ( string key ) : string
key string The key.
리턴 string

GridFilter() 공개 메소드

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

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

RenderChildren() 보호된 메소드

Outputs the content of a server control's children to a provided T:System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
protected RenderChildren ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the rendered 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

SaveUserPreference() 공개 메소드

Adds or updates an item in the User Preferences dictionary
public SaveUserPreference ( string key, string value ) : void
key string The key.
value string The value.
리턴 void

SaveUserPreference() 공개 메소드

Adds or updates an item in the User Preferences dictionary
public SaveUserPreference ( string key, string name, string value ) : void
key string The key.
name string The name.
value string The value.
리턴 void

Show() 공개 메소드

Shows the filter in expanded mode
public Show ( ) : void
리턴 void

lbClearFilter_Click() 보호된 메소드

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

lbFilter_Click() 보호된 메소드

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