C# Class Engage.Dnn.Booking.AppointmentRequest

Afficher le fichier Open project: EngageSoftware/Engage-Booking

Protected Properties

Свойство Type Description
AdditionalAddressInfoTextBox global::System.Web.UI.WebControls.TextBox
AppointmentRequestPanel global::System.Web.UI.WebControls.Panel
AppointmentTypeDropDownList global::System.Web.UI.WebControls.DropDownList
CancelAppointmentButton global::System.Web.UI.WebControls.Button
CityTextBox global::System.Web.UI.WebControls.TextBox
CreateNewAppointmentButton global::System.Web.UI.WebControls.Button
CustomField10TextBox global::System.Web.UI.WebControls.TextBox
CustomField1TextBox global::System.Web.UI.WebControls.TextBox
CustomField2TextBox global::System.Web.UI.WebControls.TextBox
CustomField3TextBox global::System.Web.UI.WebControls.TextBox
CustomField4TextBox global::System.Web.UI.WebControls.TextBox
CustomField5TextBox global::System.Web.UI.WebControls.TextBox
CustomField6TextBox global::System.Web.UI.WebControls.TextBox
CustomField7TextBox global::System.Web.UI.WebControls.TextBox
CustomField8TextBox global::System.Web.UI.WebControls.TextBox
CustomField9TextBox global::System.Web.UI.WebControls.TextBox
DescriptionTextBox global::System.Web.UI.WebControls.TextBox
DurationValidator global::System.Web.UI.WebControls.CustomValidator
EndDateTimePicker global::Telerik.Web.UI.RadDateTimePicker
FooterButtonsMultiview global::System.Web.UI.WebControls.MultiView
GenderDropDownList global::System.Web.UI.WebControls.DropDownList
HomeButton global::System.Web.UI.WebControls.Button
InDaylightTimeCheckBox global::System.Web.UI.WebControls.CheckBox
InstructionsTextBox global::System.Web.UI.WebControls.TextBox
NotesTextBox global::System.Web.UI.WebControls.TextBox
NumberOfSpecialParticipantsTextBox global::System.Web.UI.WebControls.TextBox
OnsiteNameTextBox global::System.Web.UI.WebControls.TextBox
OnsitePhoneTextBox global::System.Web.UI.WebControls.TextBox
PostalCodeTextBox global::System.Web.UI.WebControls.TextBox
PresenterDropDownList global::System.Web.UI.WebControls.DropDownList
RegionDropDownList global::System.Web.UI.WebControls.DropDownList
RequestorAltPhoneTextBox global::System.Web.UI.WebControls.TextBox
RequestorAltPhoneTypeDropDownList global::System.Web.UI.WebControls.DropDownList
RequestorEmailFormatValidator global::System.Web.UI.WebControls.RegularExpressionValidator
RequestorEmailTextBox global::System.Web.UI.WebControls.TextBox
RequestorNameLabel global::System.Web.UI.WebControls.Label
RequestorNameTextBox global::System.Web.UI.WebControls.TextBox
RequestorPhoneTextBox global::System.Web.UI.WebControls.TextBox
RequestorPhoneTypeDropDownList global::System.Web.UI.WebControls.DropDownList
RoomTextBox global::System.Web.UI.WebControls.TextBox
SaveAndCreateNewAppointmentButton global::System.Web.UI.WebControls.Button
SaveAppointmentButton global::System.Web.UI.WebControls.Button
SaveView global::System.Web.UI.WebControls.View
StartDateTimePicker global::Telerik.Web.UI.RadDateTimePicker
StreetTextBox global::System.Web.UI.WebControls.TextBox
SuccessModuleMessage global::Engage.Dnn.Booking.ModuleMessage
SuccessView global::System.Web.UI.WebControls.View
TimeZoneDropDownList global::System.Web.UI.WebControls.DropDownList
TitleTextBox global::System.Web.UI.WebControls.TextBox
TotalNumberParticipantsTextBox global::System.Web.UI.WebControls.TextBox
UniqueTimeslotValidator global::System.Web.UI.WebControls.CustomValidator

Private Properties

Свойство Type Description
CancelAppointmentButton_OnClick void
CreateNewAppointmentButton_OnClick void
DisplayFinalSuccess void
DurationValidator_ServerValidate void
GetDateFromQueryString DateTime?
GetDefaultAppointmentDuration int
GetNextDuration DateTime
HomeButton_OnClick void
Insert void
KickOutUnauthorizedUsers void
Page_Load void
Save void
SaveAndCreateNewAppointmentButton_OnClick void
SaveAppointmentButton_OnClick void
SetupControl void
UniqueTimeslotValidator_ServerValidate void

Méthodes protégées

Méthode Description
OnInit ( EventArgs e ) : void

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

Private Methods

Méthode Description
CancelAppointmentButton_OnClick ( object sender, EventArgs e ) : void

Handles the OnClick event of the CancelAppointmentButton control.

CreateNewAppointmentButton_OnClick ( object sender, EventArgs e ) : void

Handles the OnClick event of the CreateNewAppointmentButton control.

DisplayFinalSuccess ( ) : void

Displays the final success.

DurationValidator_ServerValidate ( object source, ServerValidateEventArgs args ) : void

Validates that the time requested by the user is greater than or equal to the minimum or less than or equal to the maximum allowed.

GetDateFromQueryString ( string parameterName ) : DateTime?

This method is responsible for updating an Appointment which already exists.

Gets a date from the HttpRequest.QueryString (handling specific formatting requirements).

GetDefaultAppointmentDuration ( ) : int

Gets the default duration of the appointment.

GetNextDuration ( ) : DateTime

Gets the next time that is a full duration (currently half hour) from now (i.e. if the time is currently 4:13, returns 4:30).

HomeButton_OnClick ( object sender, EventArgs e ) : void

Handles the OnClick event of the HomeButton control.

Insert ( ) : void

Based on the values entered by the user for the event, this method will populate an Appointment and save it

KickOutUnauthorizedUsers ( ) : void

Verifies that the current user can submit a request for an appointment. If not, redirects anonymous users to the login page, and other users to the home page of this module

Page_Load ( object sender, EventArgs e ) : void

Handles the Load event of the Page control.

Save ( ) : void

This method will either update or create an Appointment

SaveAndCreateNewAppointmentButton_OnClick ( object sender, EventArgs e ) : void

Handles the ImageButton.Click event of the SaveAndCreateNewAppointmentButton control.

SaveAppointmentButton_OnClick ( object sender, EventArgs e ) : void

Handles the ImageButton.Click event of the SaveAppointmentButton control.

SetupControl ( ) : void

Sets up the controls on the form.

UniqueTimeslotValidator_ServerValidate ( object source, ServerValidateEventArgs args ) : void

Handles the CustomValidator.ServerValidate event of the UniqueTimeslotValidator control.

Method Details

OnInit() protected méthode

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

Property Details

AdditionalAddressInfoTextBox protected_oe property

AdditionalAddressInfoTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox AdditionalAddressInfoTextBox
Résultat global::System.Web.UI.WebControls.TextBox

AppointmentRequestPanel protected_oe property

AppointmentRequestPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel AppointmentRequestPanel
Résultat global::System.Web.UI.WebControls.Panel

AppointmentTypeDropDownList protected_oe property

AppointmentTypeDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList AppointmentTypeDropDownList
Résultat global::System.Web.UI.WebControls.DropDownList

CancelAppointmentButton protected_oe property

CancelAppointmentButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button CancelAppointmentButton
Résultat global::System.Web.UI.WebControls.Button

CityTextBox protected_oe property

CityTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CityTextBox
Résultat global::System.Web.UI.WebControls.TextBox

CreateNewAppointmentButton protected_oe property

CreateNewAppointmentButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button CreateNewAppointmentButton
Résultat global::System.Web.UI.WebControls.Button

CustomField10TextBox protected_oe property

CustomField10TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField10TextBox
Résultat global::System.Web.UI.WebControls.TextBox

CustomField1TextBox protected_oe property

CustomField1TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField1TextBox
Résultat global::System.Web.UI.WebControls.TextBox

CustomField2TextBox protected_oe property

CustomField2TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField2TextBox
Résultat global::System.Web.UI.WebControls.TextBox

CustomField3TextBox protected_oe property

CustomField3TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField3TextBox
Résultat global::System.Web.UI.WebControls.TextBox

CustomField4TextBox protected_oe property

CustomField4TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField4TextBox
Résultat global::System.Web.UI.WebControls.TextBox

CustomField5TextBox protected_oe property

CustomField5TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField5TextBox
Résultat global::System.Web.UI.WebControls.TextBox

CustomField6TextBox protected_oe property

CustomField6TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField6TextBox
Résultat global::System.Web.UI.WebControls.TextBox

CustomField7TextBox protected_oe property

CustomField7TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField7TextBox
Résultat global::System.Web.UI.WebControls.TextBox

CustomField8TextBox protected_oe property

CustomField8TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField8TextBox
Résultat global::System.Web.UI.WebControls.TextBox

CustomField9TextBox protected_oe property

CustomField9TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField9TextBox
Résultat global::System.Web.UI.WebControls.TextBox

DescriptionTextBox protected_oe property

DescriptionTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox DescriptionTextBox
Résultat global::System.Web.UI.WebControls.TextBox

DurationValidator protected_oe property

DurationValidator control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CustomValidator DurationValidator
Résultat global::System.Web.UI.WebControls.CustomValidator

EndDateTimePicker protected_oe property

EndDateTimePicker control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadDateTimePicker EndDateTimePicker
Résultat global::Telerik.Web.UI.RadDateTimePicker

FooterButtonsMultiview protected_oe property

FooterButtonsMultiview control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.MultiView FooterButtonsMultiview
Résultat global::System.Web.UI.WebControls.MultiView

GenderDropDownList protected_oe property

GenderDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList GenderDropDownList
Résultat global::System.Web.UI.WebControls.DropDownList

HomeButton protected_oe property

HomeButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button HomeButton
Résultat global::System.Web.UI.WebControls.Button

InDaylightTimeCheckBox protected_oe property

InDaylightTimeCheckBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBox InDaylightTimeCheckBox
Résultat global::System.Web.UI.WebControls.CheckBox

InstructionsTextBox protected_oe property

InstructionsTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox InstructionsTextBox
Résultat global::System.Web.UI.WebControls.TextBox

NotesTextBox protected_oe property

NotesTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox NotesTextBox
Résultat global::System.Web.UI.WebControls.TextBox

NumberOfSpecialParticipantsTextBox protected_oe property

NumberOfSpecialParticipantsTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox NumberOfSpecialParticipantsTextBox
Résultat global::System.Web.UI.WebControls.TextBox

OnsiteNameTextBox protected_oe property

OnsiteNameTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox OnsiteNameTextBox
Résultat global::System.Web.UI.WebControls.TextBox

OnsitePhoneTextBox protected_oe property

OnsitePhoneTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox OnsitePhoneTextBox
Résultat global::System.Web.UI.WebControls.TextBox

PostalCodeTextBox protected_oe property

PostalCodeTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox PostalCodeTextBox
Résultat global::System.Web.UI.WebControls.TextBox

PresenterDropDownList protected_oe property

PresenterDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList PresenterDropDownList
Résultat global::System.Web.UI.WebControls.DropDownList

RegionDropDownList protected_oe property

RegionDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList RegionDropDownList
Résultat global::System.Web.UI.WebControls.DropDownList

RequestorAltPhoneTextBox protected_oe property

RequestorAltPhoneTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox RequestorAltPhoneTextBox
Résultat global::System.Web.UI.WebControls.TextBox

RequestorAltPhoneTypeDropDownList protected_oe property

RequestorAltPhoneTypeDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList RequestorAltPhoneTypeDropDownList
Résultat global::System.Web.UI.WebControls.DropDownList

RequestorEmailFormatValidator protected_oe property

RequestorEmailFormatValidator control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator RequestorEmailFormatValidator
Résultat global::System.Web.UI.WebControls.RegularExpressionValidator

RequestorEmailTextBox protected_oe property

RequestorEmailTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox RequestorEmailTextBox
Résultat global::System.Web.UI.WebControls.TextBox

RequestorNameLabel protected_oe property

RequestorNameLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label RequestorNameLabel
Résultat global::System.Web.UI.WebControls.Label

RequestorNameTextBox protected_oe property

RequestorNameTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox RequestorNameTextBox
Résultat global::System.Web.UI.WebControls.TextBox

RequestorPhoneTextBox protected_oe property

RequestorPhoneTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox RequestorPhoneTextBox
Résultat global::System.Web.UI.WebControls.TextBox

RequestorPhoneTypeDropDownList protected_oe property

RequestorPhoneTypeDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList RequestorPhoneTypeDropDownList
Résultat global::System.Web.UI.WebControls.DropDownList

RoomTextBox protected_oe property

RoomTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox RoomTextBox
Résultat global::System.Web.UI.WebControls.TextBox

SaveAndCreateNewAppointmentButton protected_oe property

SaveAndCreateNewAppointmentButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button SaveAndCreateNewAppointmentButton
Résultat global::System.Web.UI.WebControls.Button

SaveAppointmentButton protected_oe property

SaveAppointmentButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button SaveAppointmentButton
Résultat global::System.Web.UI.WebControls.Button

SaveView protected_oe property

SaveView control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View SaveView
Résultat global::System.Web.UI.WebControls.View

StartDateTimePicker protected_oe property

StartDateTimePicker control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadDateTimePicker StartDateTimePicker
Résultat global::Telerik.Web.UI.RadDateTimePicker

StreetTextBox protected_oe property

StreetTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox StreetTextBox
Résultat global::System.Web.UI.WebControls.TextBox

SuccessModuleMessage protected_oe property

SuccessModuleMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Engage.Dnn.Booking.ModuleMessage SuccessModuleMessage
Résultat global::Engage.Dnn.Booking.ModuleMessage

SuccessView protected_oe property

SuccessView control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View SuccessView
Résultat global::System.Web.UI.WebControls.View

TimeZoneDropDownList protected_oe property

TimeZoneDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList TimeZoneDropDownList
Résultat global::System.Web.UI.WebControls.DropDownList

TitleTextBox protected_oe property

TitleTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox TitleTextBox
Résultat global::System.Web.UI.WebControls.TextBox

TotalNumberParticipantsTextBox protected_oe property

TotalNumberParticipantsTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox TotalNumberParticipantsTextBox
Résultat global::System.Web.UI.WebControls.TextBox

UniqueTimeslotValidator protected_oe property

UniqueTimeslotValidator control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CustomValidator UniqueTimeslotValidator
Résultat global::System.Web.UI.WebControls.CustomValidator