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

LinkButton events from AppointmentTemplate

2 Answers 42 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 30 Nov 2011, 05:35 PM
I have modified my AppointmentTemplate to add some additional ImageButtons. The buttons display as I'd like, but I'm not sure how to wire up an event for the buttons that will include the Appointment object as an event argument. I'm doing this in c#.
Is there an example of this somewhere I can look at? Thanks!

PS - title is wrong, these are ImageButtons if that makes a difference.

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 02 Dec 2011, 06:33 PM
Hello Matt,

I am glad to let you know that the new demo - Customizing the Appointment, covers the functionality that you request. In the demo, we use a checkbox for the "Completed" status, but you can use the same approach and handle the Image button click server event to find the appointment object and then use UpdateAppointment of RadScheduler.
 
I suggest you review the code how we implement this and let me know if you have additional questions.


All the best, 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
0
Matt
Top achievements
Rank 1
answered on 02 Dec 2011, 06:38 PM
Thanks for the reply.
I actually figured out what I was looking for was the OnAppointmentCommand.
Tags
Scheduler
Asked by
Matt
Top achievements
Rank 1
Answers by
Peter
Telerik team
Matt
Top achievements
Rank 1
Share this question
or