C# Class Rock.Web.UI.Controls.GridFilter

Inheritance: System.Web.UI.WebControls.PlaceHolder, INamingContainer
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
RegisterJavaScript ( ) : void

Registers the java script.

SaveUserPreferences ( ) : void

Saves the user preferences.

Method Details

CreateChildControls() protected méthode

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
Résultat void

DeleteUserPreferences() public méthode

Deletes the user preferences.
public DeleteUserPreferences ( ) : void
Résultat void

GetUserPreference() public méthode

Gets the user preference for a given key if it exists
public GetUserPreference ( string key ) : string
key string The key.
Résultat string

GridFilter() public méthode

Initializes a new instance of the GridFilter class.
public GridFilter ( ) : System
Résultat System

OnInit() protected méthode

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

RenderChildren() protected méthode

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.
Résultat void

RenderControl() public méthode

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.
Résultat void

SaveUserPreference() public méthode

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.
Résultat void

SaveUserPreference() public méthode

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.
Résultat void

Show() public méthode

Shows the filter in expanded mode
public Show ( ) : void
Résultat void

lbClearFilter_Click() protected méthode

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.
Résultat void

lbFilter_Click() protected méthode

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.
Résultat void