C# Class RockWeb.Blocks.Communication.CommunicationDetail

Inheritance: Rock.Web.UI.RockBlock
Exibir arquivo Open project: NewSpring/Rock

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
OnLoad ( EventArgs e ) : void

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

OnPreRender ( EventArgs e ) : void
btnApprove_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnApprove control.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnCopy_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCopy control.

btnDeny_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDeny control.

btnEdit_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
BindActivity ( ) : void
BindRecipients ( ) : void
SetPersonDateValue ( System.Web.UI.WebControls.Literal literal, Person person, System.DateTime datetime, string labelText ) : void
SetPersonDateValue ( System.Web.UI.WebControls.Literal literal, PersonAlias personAlias, System.DateTime datetime, string labelText ) : void
SetRecipients ( System.Web.UI.WebControls.Panel pnl, System.Web.UI.HtmlControls.HtmlAnchor htmlAnchor, System.Web.UI.WebControls.Literal literalControl, Rock.Web.UI.Controls.Grid grid, IQueryable qryRecipients ) : void
ShowActions ( Rock communication ) : void

Shows the actions.

ShowDetail ( Rock communication ) : void

Shows the detail.

ShowResult ( string message, Rock communication, NotificationBoxType notificationType ) : void

Shows the result.

ShowStatus ( Rock communication ) : void
gActivity_GridRebind ( object sender, EventArgs e ) : void
gRecipients_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the Recipient grid controls.

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

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

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

btnApprove_Click() protected method

Handles the Click event of the btnApprove control.
protected btnApprove_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing 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

btnCopy_Click() protected method

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

btnDeny_Click() protected method

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

btnEdit_Click() protected method

protected btnEdit_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void