C# Class RockWeb.Blocks.Communication.TemplateDetail

Inheritance: Rock.Web.UI.RockBlock
Mostra file Open project: CentralAZ/Rockit-CentralAZ

Public Methods

Method Description
GetBreadCrumbs ( Rock pageReference ) : List

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs.

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.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

lbChannel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbChannel control.

Private Methods

Method Description
BindChannels ( ) : void

Binds the channels.

GetChannelData ( ) : void

Gets the channel data.

LoadChannelControl ( bool setData ) : Rock.Web.UI.Controls.Communication.ChannelControl

Shows the channel.

ShowDetail ( string itemKey, int itemKeyValue ) : void

Shows the detail.

Method Details

GetBreadCrumbs() public method

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs.
public GetBreadCrumbs ( Rock pageReference ) : List
pageReference Rock The .
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

btnCancel_Click() protected method

Handles the Click event of the btnCancel control.
protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnSave_Click() protected method

Handles the Click event of the btnSave control.
protected btnSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbChannel_Click() protected method

Handles the Click event of the lbChannel control.
protected lbChannel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void