C# Class RockWeb.Blocks.Core.AttributeCategories

Inheritance: Rock.Web.UI.RockBlock
显示文件 Open project: CentralAZ/Rockit-CentralAZ

Protected Methods

Method Description
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.

modalDetails_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.

rGrid_Add ( object sender, EventArgs e ) : void

Handles the Add event of the rGrid control.

rGrid_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the rGrid control.

rGrid_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the rGrid control.

rGrid_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the rGrid control.

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

Handles the GridReorder event of the rGrid control.

rGrid_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void

Handles the RowDataBound event of the rGrid control.

Private Methods

Method Description
BindFilter ( ) : void

Binds the filter.

BindGrid ( ) : void

Binds the grid.

GetCategories ( ) : IQueryable
GetUnorderedCategories ( ) : IQueryable

Method Details

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

modalDetails_SaveClick() protected method

Handles the SaveClick event of the modalDetails control.
protected modalDetails_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

rGrid_Add() protected method

Handles the Add event of the rGrid control.
protected rGrid_Add ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

rGrid_Delete() protected method

Handles the Delete event of the rGrid control.
protected rGrid_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

rGrid_Edit() protected method

Handles the Edit event of the rGrid control.
protected rGrid_Edit ( 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

rGrid_GridRebind() protected method

Handles the GridRebind event of the rGrid control.
protected rGrid_GridRebind ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

rGrid_GridReorder() protected method

Handles the GridReorder event of the rGrid control.
protected rGrid_GridReorder ( object sender, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.GridReorderEventArgs The instance containing the event data.
return void

rGrid_RowDataBound() protected method

Handles the RowDataBound event of the rGrid control.
protected rGrid_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.GridViewRowEventArgs The instance containing the event data.
return void