C# Class RockWeb.Blocks.Cms.ContentChannelItemList

Inheritance: Rock.Web.UI.RockBlock, ISecondaryBlock
Show file Open project: SparkDevNetwork/Rock

Public Methods

Method Description
SetVisible ( bool visible ) : void

Hook so that other blocks can set the visibility of all ISecondaryBlocks on it's page

Protected Methods

Method Description
AddAttributeColumns ( ) : void
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

DisplayStatus ( ContentChannelItemStatus contentItemStatus ) : string
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.

gItems_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gItems control.

gItems_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gItems control.

gItems_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gItems control.

Private Methods

Method Description
BindFilter ( ) : void
BindGrid ( ) : void

Binds the grid.

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

Handles the GridReorder event of the GItems control.

GetItems ( RockContext rockContext, bool &isFiltered ) : List

Binds the grid.

gItems_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gItems control.

gfFilter_ApplyFilterClick ( object sender, EventArgs e ) : void

Handles the ApplyFilterClick event of the gfFilter control.

gfFilter_DisplayFilterValue ( object sender, GridFilter e ) : void

Gfs the filter_ display filter value.

Method Details

AddAttributeColumns() protected method

protected AddAttributeColumns ( ) : void
return void

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

DisplayStatus() protected method

protected DisplayStatus ( ContentChannelItemStatus contentItemStatus ) : string
contentItemStatus ContentChannelItemStatus
return string

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

SetVisible() public method

Hook so that other blocks can set the visibility of all ISecondaryBlocks on it's page
public SetVisible ( bool visible ) : void
visible bool if set to true [visible].
return void

gItems_Add() protected method

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

gItems_Delete() protected method

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

gItems_Edit() protected method

Handles the Edit event of the gItems control.
protected gItems_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