C# Класс RockWeb.Blocks.Communication.CommunicationEntry

Наследование: Rock.Web.UI.RockBlock
Показать файл Открыть проект

Защищенные методы

Метод Описание
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.

OnPreRender ( EventArgs e ) : void

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

btnCancel_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

btnSubmit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSubmit control.

btnTest_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSubmit control.

ddlTemplate_SelectedIndexChanged ( object sender, EventArgs e ) : void
lbMedium_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbMedium control.

lbRemoveAllRecipients_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbRemoveAllRecipients control.

lbShowAllRecipients_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbShowAllRecipients control.

ppAddPerson_SelectPerson ( object sender, EventArgs e ) : void

Handles the SelectPerson event of the ppAddPerson control.

rptRecipients_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void

Handles the ItemCommand event of the rptRecipients control.

rptRecipients_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

Handles the ItemDataBound event of the rptRecipients control.

valRecipients_ServerValidate ( object source, System.Web.UI.WebControls.ServerValidateEventArgs args ) : void

Handles the ServerValidate event of the valRecipients control.

Приватные методы

Метод Описание
BindMediums ( ) : void

Binds the mediums.

BindRecipients ( ) : void

Binds the recipients.

CheckApprovalRequired ( int numberOfRecipients ) : bool

Determines whether approval is required, and sets the submit button text appropriately

GetMediumControl ( ) : MediumControl
GetMediumData ( ) : void

Gets the medium data.

GetTemplateData ( int templateId, bool loadControl = true ) : void
InitializeControl ( MediumControl control ) : void

Initializes the control with current persons information if this is first time that this medium is being viewed

LoadMediumControl ( bool setData ) : MediumControl

Shows the medium.

LoadTemplates ( ) : void
ShowActions ( Rock communication ) : void

Shows the actions.

ShowDetail ( Rock communication ) : void

Shows the detail.

ShowResult ( string message, Rock communication ) : void

Shows the result.

ShowStatus ( Rock communication ) : void
UpdateCommunication ( RockContext rockContext ) : Rock.Model.Communication

Updates a communication model with the user-entered values

Описание методов

OnInit() защищенный Метод

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

OnLoad() защищенный Метод

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void

OnPreRender() защищенный Метод

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

btnCancel_Click() защищенный Метод

protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

btnSave_Click() защищенный Метод

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.
Результат void

btnSubmit_Click() защищенный Метод

Handles the Click event of the btnSubmit control.
protected btnSubmit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

btnTest_Click() защищенный Метод

Handles the Click event of the btnSubmit control.
protected btnTest_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

ddlTemplate_SelectedIndexChanged() защищенный Метод

protected ddlTemplate_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

lbMedium_Click() защищенный Метод

Handles the Click event of the lbMedium control.
protected lbMedium_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

lbRemoveAllRecipients_Click() защищенный Метод

Handles the Click event of the lbRemoveAllRecipients control.
protected lbRemoveAllRecipients_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

lbShowAllRecipients_Click() защищенный Метод

Handles the Click event of the lbShowAllRecipients control.
protected lbShowAllRecipients_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

ppAddPerson_SelectPerson() защищенный Метод

Handles the SelectPerson event of the ppAddPerson control.
protected ppAddPerson_SelectPerson ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

rptRecipients_ItemCommand() защищенный Метод

Handles the ItemCommand event of the rptRecipients control.
protected rptRecipients_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void
source object The source of the event.
e System.Web.UI.WebControls.RepeaterCommandEventArgs The instance containing the event data.
Результат void

rptRecipients_ItemDataBound() защищенный Метод

Handles the ItemDataBound event of the rptRecipients control.
protected rptRecipients_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.RepeaterItemEventArgs The instance containing the event data.
Результат void

valRecipients_ServerValidate() защищенный Метод

Handles the ServerValidate event of the valRecipients control.
protected valRecipients_ServerValidate ( object source, System.Web.UI.WebControls.ServerValidateEventArgs args ) : void
source object The source of the event.
args System.Web.UI.WebControls.ServerValidateEventArgs The instance containing the event data.
Результат void