C# Class RockWeb.Blocks.Core.Categories

Inheritance: Rock.Web.UI.RockBlock
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode Description
GetBreadCrumbs ( PageReference pageReference ) : List

Méthodes protégées

Méthode Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

OnInit ( EventArgs e ) : void

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

OnLoad ( EventArgs e ) : void

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

ShowEdit ( int categoryId ) : void

Shows the edit.

gCategories_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gCategories control.

gCategories_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gCategories control.

gCategories_Edit ( object sender, RowEventArgs e ) : void
gCategories_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gCategories control.

gCategories_Select ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gCategories control.

mdDetails_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the modalDetails control.

rFilter_ApplyFilterClick ( object sender, EventArgs e ) : void

Handles the ApplyFilterClick event of the rFilter control.

rFilter_DisplayFilterValue ( object sender, GridFilter e ) : void

Rs the filter_ display filter value.

Private Methods

Méthode Description
BindGrid ( ) : void

Binds the grid.

GetCategories ( RockContext rockContext = null ) : IEnumerable
GetUnorderedCategories ( RockContext rockContext = null ) : IEnumerable
SetDisplay ( ) : void

Sets the display.

gCategories_GridReorder ( object sender, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void

Method Details

Block_BlockUpdated() protected méthode

Handles the BlockUpdated event of the control.
protected Block_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

GetBreadCrumbs() public méthode

public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference
Résultat List

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

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

ShowEdit() protected méthode

Shows the edit.
protected ShowEdit ( int categoryId ) : void
categoryId int
Résultat void

gCategories_Add() protected méthode

Handles the Add event of the gCategories control.
protected gCategories_Add ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

gCategories_Delete() protected méthode

Handles the Delete event of the gCategories control.
protected gCategories_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
Résultat void

gCategories_Edit() protected méthode

protected gCategories_Edit ( object sender, RowEventArgs e ) : void
sender object
e Rock.Web.UI.Controls.RowEventArgs
Résultat void

gCategories_GridRebind() protected méthode

Handles the GridRebind event of the gCategories control.
protected gCategories_GridRebind ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

gCategories_Select() protected méthode

Handles the Edit event of the gCategories control.
protected gCategories_Select ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
Résultat void

mdDetails_SaveClick() protected méthode

Handles the SaveClick event of the modalDetails control.
protected mdDetails_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

rFilter_ApplyFilterClick() protected méthode

Handles the ApplyFilterClick event of the rFilter control.
protected rFilter_ApplyFilterClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

rFilter_DisplayFilterValue() protected méthode

Rs the filter_ display filter value.
protected rFilter_DisplayFilterValue ( object sender, GridFilter e ) : void
sender object The sender.
e Rock.Web.UI.Controls.GridFilter The e.
Résultat void