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

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

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

Свойство Тип Описание
AcceptAppointmentsButton global::System.Web.UI.WebControls.LinkButton
AppointmentsGrid global::System.Web.UI.WebControls.GridView
ApprovalMessage global::Engage.Dnn.Booking.ModuleMessage
ApprovalMultiview global::System.Web.UI.WebControls.MultiView
ApprovalsListView global::System.Web.UI.WebControls.View
ConflictingAppointmentsMessage global::Engage.Dnn.Booking.ModuleMessage
DeclineAppointmentsButton global::System.Web.UI.WebControls.LinkButton
DeclineReasonRepeater global::System.Web.UI.WebControls.Repeater
PagingControl global::DotNetNuke.UI.WebControls.PagingControl
PendingAppointmentToolTipManager global::Telerik.Web.UI.RadToolTipManager
ProvideDeclineReasonView global::System.Web.UI.WebControls.View

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

Метод Описание
CancelDeclineButton_Click ( object sender, EventArgs e ) : void

Handles the LinkButton.Click event of the CancelDeclineButton control.

OnInit ( EventArgs e ) : void

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

SubmitDeclineReasonButton_Click ( object sender, EventArgs e ) : void

Handles the LinkButton.Click event of the SubmitDeclineReasonButton control in the footer of the DeclineReasonRepeater.

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

Метод Описание
AcceptAppointment ( int appointmentId ) : bool

Accepts the Appointment with the given appointmentId, and sends an email to the requestor of the Appointment.

AcceptAppointmentsButton_Click ( object sender, EventArgs e ) : void

Handles the Button.Click event of the AcceptAppointmentsButton control.

AppointmentsGrid_RowCommand ( object sender, GridViewCommandEventArgs e ) : void

Handles the GridView.RowCommand event of the AppointmentsGrid control.

AppointmentsGrid_RowDataBound ( object sender, GridViewRowEventArgs e ) : void

Handles the GridView.RowDataBound event of the AppointmentsGrid control.

BindData ( bool rebindInPostback ) : void

Binds the data.

DeclineAppointmentsButton_Click ( object sender, EventArgs e ) : void

Handles the Button.Click event of the DeclineAppointmentsButton control.

DeclineReasonRepeater_ItemDataBound ( object sender, RepeaterItemEventArgs e ) : void

Handles the Repeater.ItemDataBound event of the DeclineReasonRepeater control.

GenerateAppointmentApprovalMessage ( IEnumerable acceptedAppointments, string headerTextLocalizationKey ) : string

Generates the success message when appointments are accepted.

GetSelectedAppointmentIds ( ) : List

Gets the IDs of the Appointments whose rows are selected in AppointmentsGrid.

IsControlRegisteredForTooltip ( string clientId ) : bool

Determines whether the specified control is registered with the tooltip manager.

LocalizeGrid ( ) : void

Localizes the AppointmentsGrid.

Page_Load ( object sender, EventArgs e ) : void

Handles the Load event of the Page control.

PendingAppointmentToolTipManager_AjaxUpdate ( object sender, ToolTipUpdateEventArgs e ) : void

Handles the RadToolTipManager.AjaxUpdate event of the PendingAppointmentToolTipManager control.

SetupSelectAllPlugin ( ) : void

Sets up the Select All jQuery plugin (to allow the header checkbox to select all other checkboxes).

TryAcceptAppointment ( int revisingUserId, Appointment apt ) : bool

Attempts to accept the appointment

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

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

Handles the LinkButton.Click event of the CancelDeclineButton control.
protected CancelDeclineButton_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
Результат void

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

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

Handles the LinkButton.Click event of the SubmitDeclineReasonButton control in the footer of the DeclineReasonRepeater.
protected SubmitDeclineReasonButton_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
Результат void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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