C# Class RockWeb.Blocks.Core.Categories

Inheritance: Rock.Web.UI.RockBlock
Datei anzeigen Open project: NewSpring/Rock

Public Methods

Method Description
GetBreadCrumbs ( PageReference pageReference ) : List

Protected Methods

Method 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

Method 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 method

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.
return void

GetBreadCrumbs() public method

public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference
return List

OnInit() protected method

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

OnLoad() protected method

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

ShowEdit() protected method

Shows the edit.
protected ShowEdit ( int categoryId ) : void
categoryId int
return void

gCategories_Add() protected method

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.
return void

gCategories_Delete() protected method

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.
return void

gCategories_Edit() protected method

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

gCategories_GridRebind() protected method

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.
return void

gCategories_Select() protected method

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.
return void

mdDetails_SaveClick() protected method

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.
return void

rFilter_ApplyFilterClick() protected method

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.
return void

rFilter_DisplayFilterValue() protected method

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.
return void