Hi,
I have a link button inside the Appointment Template, and have 2 appointment for a day. How can I get the ID of the clicked appointment in the link button's onclick event?
Regards
Sudheep
1 Answer, 1 is accepted
0
Simon
Telerik team
answered on 25 Jul 2008, 02:07 PM
Hello Sudheep,
You could handle the AppointmentDataBound event of the Scheduler and in the event handler find the LinkButton control and set its CommandArgument property to the ID of the current Appointment.
Later, in the click event handler of the LinkButton, you can easily get the CommandArgument (the ID of the Appointment) and proceed with further operations.
Sincerely yours,
Simon
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.