C# Класс RockWeb.Blocks.Event.RegistrationEntry

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

Открытые свойства

Свойство Тип Описание
PercentComplete decimal

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
GetBreadCrumbs ( PageReference pageReference ) : List
sm_Navigate ( object sender, System.Web.UI.HistoryEventArgs e ) : void

Handles the Navigate event of the sm 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.

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.

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

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

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

GetBreadCrumbs() публичный Метод

public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference
Результат List

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

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

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

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

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
Результат object

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

sm_Navigate() публичный Метод

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

Описание свойств

PercentComplete публичное свойство

public decimal PercentComplete
Результат decimal