Raised when a popup form is shown.
Namespace: MindFusion.Scheduling
File: Calendar.js
JavaScript
![]() |
---|
EventDispatcher formShow |
The event handler method receives the following arguments:
sender
A Calendar instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
A FormEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
The following example attaches a handler to the formShow event of a calendar. In the handler method we check if the title of the form that is shown is "New Appointment". If it is, we do not allow the form to appear.
JavaScript
![]() |
---|
// attach a handler - a calendar popup form gets displayed function handleFormShow(sender, args) { |