LinkButton events from AppointmentTemplate

3 posts, 0 answers
  1. Matt
    Matt avatar
    29 posts
    Member since:
    Oct 2011

    Posted 30 Nov 2011 Link to this post

    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. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 02 Dec 2011 Link to this post

    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
  3. Matt
    Matt avatar
    29 posts
    Member since:
    Oct 2011

    Posted 02 Dec 2011 Link to this post

    Thanks for the reply.
    I actually figured out what I was looking for was the OnAppointmentCommand.
Back to Top