C# Class RockWeb.Blocks.Event.RegistrationDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Afficher le fichier Open project: SparkDevNetwork/Rock

Private Properties

Свойство Type Description
AddRegistrantToGroup void
BindOtherInstances void
BindPaymentsGrid void
BuildFeeTable void
BuildRegistrantControls void
BuildRegistrantFeeControl System.Web.UI.Control
BuildRegistrantFieldControl System.Web.UI.Control
BuildRegistrationControls void
FormatDetails string
GetRegistration Registration
LoadState void
ProcessPayment bool
RegisterClientScript void
SetCostLabels void
SetEditMode void
ShowEditDetails void
ShowReadonlyDetails void
lbDeleteRegistrant_Click void
lbEditRegistrant_Click void
lbGroupMember_Click void
lbResendDocumentRequest_Click void

Méthodes publiques

Méthode Description
ShowDetail ( int registrationId ) : void

Shows the detail.

ShowDetail ( int registrationId, int registrationInstanceId ) : void

Shows the detail.

Méthodes protégées

Méthode 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

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

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnDelete_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDelete control.

btnEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnEdit control.

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

Handles the Click event of the btnSave control.

cbShowAll_CheckedChanged ( object sender, EventArgs e ) : void
ddlCurrencyType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlCurrencyType control.

ddlDiscountCode_SelectedIndexChanged ( object sender, EventArgs e ) : void
ddlNewRegistrationInstance_SelectedIndexChanged ( object sender, EventArgs e ) : void
gPayments_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gPayments control.

lbAddPayment_Click ( object sender, EventArgs e ) : void
lbAddRegistrant_Click ( object sender, EventArgs e ) : void
lbCancelPaymentDetails_Click ( object sender, EventArgs e ) : void
lbCancelPayment_Click ( object sender, EventArgs e ) : void
lbHistory_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbHistory control.

lbProcessPayment_Click ( object sender, EventArgs e ) : void
lbResendConfirmation_Click ( object sender, EventArgs e ) : void
lbShowMoveRegistrationDialog_Click ( object sender, EventArgs e ) : void
lbSubmitPayment_Click ( object sender, EventArgs e ) : void
lbViewPaymentDetails_Click ( object sender, EventArgs e ) : void
lbWizardInstance_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbWizardInstance control.

lbWizardTemplate_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbWizardTemplate control.

ppPerson_SelectPerson ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
AddRegistrantToGroup ( int registrantId ) : void
BindOtherInstances ( ) : void
BindPaymentsGrid ( ) : void

Binds the payments grid.

BuildFeeTable ( Registration registration ) : void
BuildRegistrantControls ( RegistrantInfo registrant, bool setValues ) : void
BuildRegistrantFeeControl ( RegistrationTemplateFee fee, FeeInfo feeInfo, RegistrantInfo registrant, bool setValues ) : Control
BuildRegistrantFieldControl ( RegistrationTemplateFormField field, RegistrantInfo registrant, bool setValues ) : Control
BuildRegistrationControls ( bool setValues ) : void
FormatDetails ( FinancialTransaction txn ) : string
GetRegistration ( int registrationId, RockContext rockContext = null ) : Registration

Gets the group.

LoadState ( ) : void
ProcessPayment ( bool submitToGateway, RockContext rockContext, Registration registration, int personAliasId, decimal amount, string &errorMessage ) : bool

Processes the payment.

RegisterClientScript ( ) : void

Registers the client script.

SetCostLabels ( Registration registration ) : void

Sets the cost labels.

SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowEditDetails ( Registration registration ) : void

Shows the edit details.

ShowReadonlyDetails ( Registration registration ) : void

Shows the readonly details.

lbDeleteRegistrant_Click ( object sender, EventArgs e ) : void
lbEditRegistrant_Click ( object sender, EventArgs e ) : void
lbGroupMember_Click ( object sender, EventArgs e ) : void
lbResendDocumentRequest_Click ( object sender, EventArgs e ) : void

Method Details

Block_BlockUpdated() protected méthode

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.
Résultat void

LoadViewState() protected méthode

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.
Résultat void

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

SaveViewState() protected méthode

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

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int registrationId ) : void
registrationId int The registration identifier.
Résultat void

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int registrationId, int registrationInstanceId ) : void
registrationId int The registration identifier.
registrationInstanceId int The registration instance identifier.
Résultat void

btnCancel_Click() protected méthode

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.
Résultat void

btnDelete_Click() protected méthode

Handles the Click event of the btnDelete control.
protected btnDelete_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnEdit_Click() protected méthode

Handles the Click event of the btnEdit control.
protected btnEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnMoveRegistration_Click() protected méthode

protected btnMoveRegistration_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

btnSave_Click() protected méthode

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.
Résultat void

cbShowAll_CheckedChanged() protected méthode

protected cbShowAll_CheckedChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

ddlCurrencyType_SelectedIndexChanged() protected méthode

Handles the SelectedIndexChanged event of the ddlCurrencyType control.
protected ddlCurrencyType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

ddlDiscountCode_SelectedIndexChanged() protected méthode

protected ddlDiscountCode_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

ddlNewRegistrationInstance_SelectedIndexChanged() protected méthode

protected ddlNewRegistrationInstance_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

gPayments_GridRebind() protected méthode

Handles the GridRebind event of the gPayments control.
protected gPayments_GridRebind ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

lbAddPayment_Click() protected méthode

protected lbAddPayment_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbAddRegistrant_Click() protected méthode

protected lbAddRegistrant_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbCancelPaymentDetails_Click() protected méthode

protected lbCancelPaymentDetails_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbCancelPayment_Click() protected méthode

protected lbCancelPayment_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbHistory_Click() protected méthode

Handles the Click event of the lbHistory control.
protected lbHistory_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

lbProcessPayment_Click() protected méthode

protected lbProcessPayment_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbResendConfirmation_Click() protected méthode

protected lbResendConfirmation_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbShowMoveRegistrationDialog_Click() protected méthode

protected lbShowMoveRegistrationDialog_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbSubmitPayment_Click() protected méthode

protected lbSubmitPayment_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbViewPaymentDetails_Click() protected méthode

protected lbViewPaymentDetails_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbWizardInstance_Click() protected méthode

Handles the Click event of the lbWizardInstance control.
protected lbWizardInstance_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

lbWizardTemplate_Click() protected méthode

Handles the Click event of the lbWizardTemplate control.
protected lbWizardTemplate_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

ppPerson_SelectPerson() protected méthode

protected ppPerson_SelectPerson ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void