C# Класс Rock.Web.UI.Controls.GridFilter

Наследование: System.Web.UI.WebControls.PlaceHolder, INamingContainer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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