ASPxScheduler.GotoDateFormShowing Event

Occurs before the Go To Date dialog window is invoked.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v19.2.dll

Declaration

public event GotoDateFormEventHandler GotoDateFormShowing
Public Event GotoDateFormShowing As GotoDateFormEventHandler

Event Data

The GotoDateFormShowing event handler receives an argument of the GotoDateFormEventArgs type. The following properties provide information specific to this event.

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.
(Inherited from SchedulerFormEventArgs)
Container Gets or sets the object that will function as a container for an instance of the template used to render the GotoDate form.
FormTemplateUrl Gets or sets the Uniform Resource Locator (URL) of the form template.
(Inherited from SchedulerFormEventArgs)

Remarks

Handle the GotoDateFormShowing event to perform actions prior to the Go To Date dialog being shown. For instance, substitute the standard dialog with a custom one (and set the ShowFormEventArgs.Handled property to true.)

This dialog can be invoked either by an end-user, or via the SchedulerControl.ShowGotoDateForm method. Note that the new start date and the view type can be specified via the GotoDateFormEventArgs.Date and GotoDateFormEventArgs.SchedulerViewType properties. The way the window is displayed is determined by the ASPxSchedulerOptionsForms.GotoDateFormVisibility property.

See Also