C# Класс Engage.Dnn.Booking.AppointmentRequest

Показать файл Открыть проект

Защищенные свойства (Protected)

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

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

Защищенные методы

Метод Описание
OnInit ( EventArgs e ) : void

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

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

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

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

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

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e EventArgs An object that contains the event data.
Результат void

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

AdditionalAddressInfoTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

AppointmentRequestPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

AppointmentTypeDropDownList защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

CancelAppointmentButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

CityTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

CreateNewAppointmentButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

CustomField10TextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

CustomField1TextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

CustomField2TextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

CustomField3TextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

CustomField4TextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

CustomField5TextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

CustomField6TextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

CustomField7TextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

CustomField8TextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

CustomField9TextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

DescriptionTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

DurationValidator защищенное свойство

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
Результат global::System.Web.UI.WebControls.CustomValidator

EndDateTimePicker защищенное свойство

EndDateTimePicker control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadDateTimePicker EndDateTimePicker
Результат global::Telerik.Web.UI.RadDateTimePicker

FooterButtonsMultiview защищенное свойство

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
Результат global::System.Web.UI.WebControls.MultiView

GenderDropDownList защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

HomeButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

InDaylightTimeCheckBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.CheckBox

InstructionsTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

NotesTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

NumberOfSpecialParticipantsTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

OnsiteNameTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

OnsitePhoneTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

PostalCodeTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

PresenterDropDownList защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

RegionDropDownList защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

RequestorAltPhoneTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

RequestorAltPhoneTypeDropDownList защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

RequestorEmailFormatValidator защищенное свойство

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
Результат global::System.Web.UI.WebControls.RegularExpressionValidator

RequestorEmailTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

RequestorNameLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

RequestorNameTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

RequestorPhoneTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

RequestorPhoneTypeDropDownList защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

RoomTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

SaveAndCreateNewAppointmentButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

SaveAppointmentButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

SaveView защищенное свойство

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
Результат global::System.Web.UI.WebControls.View

StartDateTimePicker защищенное свойство

StartDateTimePicker control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadDateTimePicker StartDateTimePicker
Результат global::Telerik.Web.UI.RadDateTimePicker

StreetTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

SuccessModuleMessage защищенное свойство

SuccessModuleMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Engage.Dnn.Booking.ModuleMessage SuccessModuleMessage
Результат global::Engage.Dnn.Booking.ModuleMessage

SuccessView защищенное свойство

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
Результат global::System.Web.UI.WebControls.View

TimeZoneDropDownList защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

TitleTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

TotalNumberParticipantsTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

UniqueTimeslotValidator защищенное свойство

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
Результат global::System.Web.UI.WebControls.CustomValidator