RadCalendar Click Event?

3 posts, 0 answers
  1. johnv
    johnv avatar
    36 posts
    Member since:
    Apr 2008

    Posted 27 Oct 2008 Link to this post

    Am I missing something?

    I have a requirement to load a list (AJAX preferred) when a user clicks a date on a RadCalendar.

    Example:

    A page with a Calendar and a grouped repeater on it. When a user clicks a date on the calendar control, the grouped repeater displays all the events for that day (even if they are recurring).

    The trouble is, I don't understand how the RadCalendar works. I don't see a click event associated with the control, and the Demo's don't really show me a good example of how to accomplish this.

    Can someone please wind me up and point me in the right direction?

    Thanks!
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 28 Oct 2008 Link to this post

    Hi johnv,

    RadCalendar will perform post-back if AutoPostBack property is set to true. You can handle date selection server-side using SelectionChanged event.

    Kind regards,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. johnv
    johnv avatar
    36 posts
    Member since:
    Apr 2008

    Posted 28 Oct 2008 Link to this post

    Wow... I am rather embarrassed. I was so hung up on looking for a way to do it on the client side that I totally missed the idea of enabling the post back feature. Thanks for the whack on the head, hopefully it leaves a mark so I will remember to look at the blatantly obvious before spinning out on the slightly less obvious...

    Cheers!
Back to Top