This is a migrated thread and some comments may be shown as answers.

Opening AdvancedForm on Single Click

1 Answer 46 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Teena
Top achievements
Rank 1
Teena asked on 22 Feb 2013, 07:37 AM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 22 Feb 2013, 08:35 AM
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.
Tags
Scheduler
Asked by
Teena
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or