C# Class RockWeb.Plugins.org_newpointe.BlockMods.Event.RegistrationEntry

Inheritance: Rock.Web.UI.RockBlock
显示文件 Open project: NewPointe/Rockit

Public Properties

Property Type Description
PercentComplete double

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
RegisterClientScript void
SaveChanges int?
SavePerson Person
SavePersonNotes void
SavePhone void
SaveRegistration Registration
SetPanel void
SetRegistrantState void
SetRegistrationState bool
ShowError void
ShowHowMany void
ShowRegistrant void
ShowSuccess void
ShowSummary void
ShowWarning void
ValidatePayment 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.

lbConfirm_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbConfirm 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.

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.

lbSaveAccount_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSaveAccount control.

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 ) : 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.

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 previousRegistrants, 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.

SetPanel ( int currentPanel ) : void

Creates the dynamic controls, and shows correct panel

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

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.

ValidatePayment ( ) : 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

lbConfirm_Click() protected method

Handles the Click event of the lbConfirm control.
protected lbConfirm_Click ( 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

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

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

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 double PercentComplete
return double