C# Class Engage.Dnn.Booking.Approval

Exibir arquivo Open project: EngageSoftware/Engage-Booking

Protected Properties

Property Type Description
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

Protected Methods

Method Description
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.

Private Methods

Method Description
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

Method Details

CancelDeclineButton_Click() protected method

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.
return void

OnInit() protected method

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

SubmitDeclineReasonButton_Click() protected method

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.
return void

Property Details

AcceptAppointmentsButton protected_oe property

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
return global::System.Web.UI.WebControls.LinkButton

AppointmentsGrid protected_oe property

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
return global::System.Web.UI.WebControls.GridView

ApprovalMessage protected_oe property

ApprovalMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Engage.Dnn.Booking.ModuleMessage ApprovalMessage
return global::Engage.Dnn.Booking.ModuleMessage

ApprovalMultiview protected_oe property

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
return global::System.Web.UI.WebControls.MultiView

ApprovalsListView protected_oe property

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
return global::System.Web.UI.WebControls.View

ConflictingAppointmentsMessage protected_oe property

ConflictingAppointmentsMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Engage.Dnn.Booking.ModuleMessage ConflictingAppointmentsMessage
return global::Engage.Dnn.Booking.ModuleMessage

DeclineAppointmentsButton protected_oe property

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
return global::System.Web.UI.WebControls.LinkButton

DeclineReasonRepeater protected_oe property

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
return global::System.Web.UI.WebControls.Repeater

PagingControl protected_oe property

PagingControl control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.WebControls.PagingControl PagingControl
return global::DotNetNuke.UI.WebControls.PagingControl

PendingAppointmentToolTipManager protected_oe property

PendingAppointmentToolTipManager control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadToolTipManager PendingAppointmentToolTipManager
return global::Telerik.Web.UI.RadToolTipManager

ProvideDeclineReasonView protected_oe property

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
return global::System.Web.UI.WebControls.View