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

How to Open ModalPopup By clicking On Appointment

1 Answer 99 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Vishnu Vardhan Reddy
Top achievements
Rank 2
Vishnu Vardhan Reddy asked on 06 Jan 2012, 11:33 AM
Hi,
I have rad scheduler  and i have some appointments in my Scheduler.How i can Open a Modal popup to show appointment  details by click on a particular Appointment.Can any one help me asap

Thanks And Regards
N.Vishnu Vardhan Reddy

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 06 Jan 2012, 12:57 PM
Hello,

Please, try the following code:
<script type="text/javascript">
       function OnClientAppointmentClick(sender, e) {
           var apt = e.get_appointment();
           sender.editAppointmentWithConfirmation(apt);
       }
   </script>
   <telerik:RadScheduler runat="server" ID="RadScheduler1" StartEditingInAdvancedForm="true"
       OnClientAppointmentClick="OnClientAppointmentClick">
       <AdvancedForm Modal="true" />
   </telerik:RadScheduler>


Kind regards,
Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Scheduler
Asked by
Vishnu Vardhan Reddy
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or