C# Class RockWeb.Blocks.Event.RegistrationEntry

Inheritance: Rock.Web.UI.RockBlock
Datei anzeigen Open project: SparkDevNetwork/Rock

Public Properties

Property Type Description
PercentComplete decimal

Private Properties

Property Type Description
AddRegistrantsToGroup void
BindSavedAccounts void
CreateAttributeField void
CreateDynamicControls void
CreateFeeField void
CreatePersonField void
CreateRegistrantControls void
CreateSummaryControls void
GetCCPaymentInfo Rock.Financial.CreditCardPaymentInfo
ParseAttributeField object
ParseDynamicControls void
ParseFee List
ParsePersonField object
ParseRegistrantControls void
ParseSummaryControls void
ProcessPayment bool
ProcessPostSave void
ProcessStep1 bool
ProcessStep3 bool
RegisterClientScript void
SaveChanges int?
SavePerson Person
SavePersonNotes void
SavePhone void
SaveRegistration Registration
SaveTransaction bool
SetPanel void
SetRegistrantFields void
SetRegistrantState void
SetRegistrationState bool
ShowError void
ShowHowMany void
ShowPayment void
ShowRegistrant void
ShowSuccess void
ShowSummary void
ShowWarning void
ValidateSummary List

Public Methods

Method Description
GetBreadCrumbs ( PageReference pageReference ) : List
sm_Navigate ( object sender, System.Web.UI.HistoryEventArgs e ) : void

Handles the Navigate event of the sm control.

Protected Methods

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

OnPreRender ( EventArgs e ) : void

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

SaveViewState ( ) : object

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

ddlFamilyMembers_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlFamilyMembers control.

lbDiscountApply_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbDiscountApply control.

lbHowManyNext_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbHowManyNext control.

lbPaymentPrev_Click ( object sender, EventArgs e ) : void
lbRegistrantNext_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbRegistrantNext control.

lbRegistrantPrev_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbRegistrantPrev control.

lbRequiredDocumentNext_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbRequiredDocumentNext control.

lbSaveAccount_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSaveAccount control.

lbStep2Return_Click ( object sender, EventArgs e ) : void
lbSummaryNext_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSummaryNext control.

lbSummaryPrev_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSummaryPrev control.

Private Methods

Method Description
AddRegistrantsToGroup ( RockContext rockContext, Registration registration ) : void

Adds the registrants to group.

BindSavedAccounts ( GatewayComponent component ) : void
CreateAttributeField ( RegistrationTemplateFormField field, bool setValue, object fieldValue ) : void

Creates the attribute field.

CreateDynamicControls ( bool setValues ) : void

Creates the dynamic controls fore each panel

CreateFeeField ( RegistrationTemplateFee fee, bool setValues, List feeValues ) : void

Creates the fee field.

CreatePersonField ( RegistrationTemplateFormField field, bool setValue, object fieldValue, bool familyMemberSelected ) : void

Creates the person field.

CreateRegistrantControls ( bool setValues ) : void

Creates the registrant controls.

CreateSummaryControls ( bool setValues ) : void
GetCCPaymentInfo ( GatewayComponent gateway ) : CreditCardPaymentInfo
ParseAttributeField ( RegistrationTemplateFormField field ) : object

Parses the attribute field.

ParseDynamicControls ( ) : void

Parses the dynamic controls.

ParseFee ( RegistrationTemplateFee fee ) : List

Parses the fee.

ParsePersonField ( RegistrationTemplateFormField field ) : object

Parses the person field.

ParseRegistrantControls ( ) : void

Parses the registrant controls.

ParseSummaryControls ( ) : void
ProcessPayment ( RockContext rockContext, Registration registration, string &errorMessage ) : bool

Processes the payment.

ProcessPostSave ( bool isNewRegistration, Registration registration, List previousRegistrantIds, RockContext rockContext ) : void
ProcessStep1 ( string &errorMessage ) : bool

Processes the first step of a 3-step charge.

ProcessStep3 ( RockContext rockContext, Registration registration, string resultQueryString, string &errorMessage ) : bool

Processes the third step of a 3-step charge.

RegisterClientScript ( ) : void

Registers the client script.

SaveChanges ( ) : int?

Saves the changes.

SavePerson ( RockContext rockContext, Person person, System.Guid familyGuid, int campusId, Location location, int adultRoleId, int childRoleId, int>.Dictionary multipleFamilyGroupIds, int &singleFamilyId ) : Person

Saves the person.

SavePersonNotes ( RockContext rockContext, List previousRegistrantIds, Registration registration ) : void

Saves the person notes.

SavePhone ( object fieldValue, Person person, System.Guid phoneTypeGuid, List changes ) : void

Saves the phone.

SaveRegistration ( RockContext rockContext, bool hasPayment ) : Registration

Saves the registration.

SaveTransaction ( GatewayComponent gateway, Registration registration, FinancialTransaction transaction, PaymentInfo paymentInfo, RockContext rockContext ) : bool
SetPanel ( int currentPanel ) : void

Creates the dynamic controls, and shows correct panel

SetRegistrantFields ( int personId ) : void

Sets the registrant fields.

SetRegistrantState ( int registrantCount ) : void

Adds (or removes) registrants to or from the registration. Only newly added registrants can can be removed. Any existing (saved) registrants cannot be removed from the registration

SetRegistrationState ( ) : bool

Sets the registration state

ShowError ( string heading, string text ) : void

Shows an error message.

ShowHowMany ( ) : void

Shows the how many panel

ShowPayment ( ) : void

Shows the payment panel.

ShowRegistrant ( ) : void

Shows the registrant panel

ShowSuccess ( int registrationId ) : void

Shows the success panel

ShowSummary ( ) : void

Shows the summary panel

ShowWarning ( string heading, string text ) : void

Shows a warning message.

ValidateSummary ( ) : List

Method Details

GetBreadCrumbs() public method

public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference
return List

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

OnPreRender() protected method

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An 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

ddlFamilyMembers_SelectedIndexChanged() protected method

Handles the SelectedIndexChanged event of the ddlFamilyMembers control.
protected ddlFamilyMembers_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbDiscountApply_Click() protected method

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

lbHowManyNext_Click() protected method

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

lbPaymentPrev_Click() protected method

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

lbRegistrantNext_Click() protected method

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

lbRegistrantPrev_Click() protected method

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

lbRequiredDocumentNext_Click() protected method

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

lbSaveAccount_Click() protected method

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

lbStep2Return_Click() protected method

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

lbSummaryNext_Click() protected method

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

lbSummaryPrev_Click() protected method

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

sm_Navigate() public method

Handles the Navigate event of the sm control.
public sm_Navigate ( object sender, System.Web.UI.HistoryEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.HistoryEventArgs The instance containing the event data.
return void

Property Details

PercentComplete public_oe property

public decimal PercentComplete
return decimal