Opening AdvancedForm on Single Click

2 posts, 1 answers
  1. Teena
    Teena avatar
    16 posts
    Member since:
    Feb 2013

    Posted 22 Feb 2013 Link to this post

    Hi,

    I want to open the AdvancedForm on single clicking the Appointment in Month view. Also I would like to display an alert on click as shown in the attachment if Recurrence is enabled.

    Any help appreciated,
    Teena
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 22 Feb 2013 Link to this post

    Hello Teena,

    Try the following JavaScript function and attach it to the OnClientAppointmentClick event of the RadScheduler. You can use the editAppointmentWithConfirmation function to display an alert when recurrence is enabled. In case if you dont want to display the alert, use the editAppointment() function.

    JavaScript:
    <script type="text/javascript">
        function openAdvancedForm(sender, eventArgs) {
            var appointment = eventArgs.get_appointment();
            sender.editAppointmentWithConfirmation(appointment);
        }
    </script>

    Thanks,
    Shinu.
Back to Top