C# Class RockWeb.Blocks.Event.RegistrationDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Exibir arquivo Open project: SparkDevNetwork/Rock

Private Properties

Property 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

Public Methods

Method Description
ShowDetail ( int registrationId ) : void

Shows the detail.

ShowDetail ( int registrationId, int registrationInstanceId ) : void

Shows the detail.

Protected Methods

Method 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

Method 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 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

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

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

SaveViewState() protected method

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

ShowDetail() public method

Shows the detail.
public ShowDetail ( int registrationId ) : void
registrationId int The registration identifier.
return void

ShowDetail() public method

Shows the detail.
public ShowDetail ( int registrationId, int registrationInstanceId ) : void
registrationId int The registration identifier.
registrationInstanceId int The registration instance identifier.
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

btnDelete_Click() protected method

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.
return void

btnEdit_Click() protected method

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.
return void

btnMoveRegistration_Click() protected method

protected btnMoveRegistration_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
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

cbShowAll_CheckedChanged() protected method

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

ddlCurrencyType_SelectedIndexChanged() protected method

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.
return void

ddlDiscountCode_SelectedIndexChanged() protected method

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

ddlNewRegistrationInstance_SelectedIndexChanged() protected method

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

gPayments_GridRebind() protected method

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.
return void

lbAddPayment_Click() protected method

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

lbAddRegistrant_Click() protected method

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

lbCancelPaymentDetails_Click() protected method

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

lbCancelPayment_Click() protected method

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

lbHistory_Click() protected method

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.
return void

lbProcessPayment_Click() protected method

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

lbResendConfirmation_Click() protected method

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

lbShowMoveRegistrationDialog_Click() protected method

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

lbSubmitPayment_Click() protected method

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

lbViewPaymentDetails_Click() protected method

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

lbWizardInstance_Click() protected method

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.
return void

lbWizardTemplate_Click() protected method

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.
return void

ppPerson_SelectPerson() protected method

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