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

Getting the AppointmentId in the clientside AppointmentSingleclick event

1 Answer 29 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Indranik
Top achievements
Rank 1
Indranik asked on 22 Jan 2009, 06:55 PM
How do i get the id of the appointment in the event handler for the OnClientAppointmentClick event. Please note that I am talking about the single click event.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 23 Jan 2009, 12:26 PM

The following should work:
 <script type="text/javascript">  
        function OnClientAppointmentClick(sender, eventArgs)   
        {  
            alert(eventArgs.get_appointment().get_id());  
        }  
    </script> 


All the best,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Indranik
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or