C# Class RockWeb.Blocks.Cms.ContentChannelItemView

Inheritance: Rock.Web.UI.RockBlock
Show file Open project: NewSpring/Rock

Protected Methods

Method Description
AddDynamicControls ( ContentChannel channel ) : void
BindAttributes ( ContentChannel channel ) : void
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

DisplayStatus ( ContentChannelItemStatus contentItemStatus ) : string
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
OnLoad ( EventArgs e ) : void

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

SaveViewState ( ) : object

Saves any user control view-state changes that have occurred since the last page postback.

gContentChannelItems_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gContentChannelItems control.

gContentChannelItems_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gContentChannelItems control.

rptChannels_ItemCommand ( object source, RepeaterCommandEventArgs e ) : void

Handles the ItemCommand event of the rptChannels control.

tgl_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the tgl control.

Private Methods

Method Description
BindFilter ( ) : void
GContentChannelItems_GridReorder ( object sender, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void
GetData ( ) : void
GetItems ( RockContext rockContext, ContentChannel selectedChannel, bool &isFiltered ) : List
MakeKeyUniqueToChannel ( int channelId, string key ) : string
gContentChannelItems_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gContentChannelItems control.

gContentChannelItems_Delete ( object sender, RowEventArgs e ) : void

Handles the Click event of the deleteField 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

AddDynamicControls() protected method

protected AddDynamicControls ( ContentChannel channel ) : void
channel ContentChannel
return void

BindAttributes() protected method

protected BindAttributes ( ContentChannel channel ) : void
channel ContentChannel
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

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

protected OnInit ( EventArgs e ) : void
e System.EventArgs
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

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
return object

gContentChannelItems_Edit() protected method

Handles the Edit event of the gContentChannelItems control.
protected gContentChannelItems_Edit ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void

gContentChannelItems_GridRebind() protected method

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

rptChannels_ItemCommand() protected method

Handles the ItemCommand event of the rptChannels control.
protected rptChannels_ItemCommand ( object source, RepeaterCommandEventArgs e ) : void
source object The source of the event.
e RepeaterCommandEventArgs The instance containing the event data.
return void

tgl_CheckedChanged() protected method

Handles the CheckedChanged event of the tgl control.
protected tgl_CheckedChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void