C# Class RockWeb.Blocks.Event.CalendarContentChannelItemList

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

Private Properties

Property Type Description
BindGrids void
CreateGrids void
DisplayStatus string
NavigateToDetailPage void
gItems_GridRebind void

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
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

LoadViewState ( object savedState ) : void

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.

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.

SaveViewState ( ) : object
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
BindGrids ( ) : void

Binds the grid.

CreateGrids ( RockContext rockContext ) : void
DisplayStatus ( ContentChannelItemStatus contentItemStatus ) : string
NavigateToDetailPage ( int contentItemId, int contentChannelId = null ) : void
gItems_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gItems control.

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

LoadViewState() protected method

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.
protected LoadViewState ( object savedState ) : void
savedState object An that represents the user control state to be restored.
return void

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

SaveViewState() protected method

protected SaveViewState ( ) : object
return object

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