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

RadCalendar Click Event?

2 Answers 123 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
johnv
Top achievements
Rank 2
johnv asked on 27 Oct 2008, 06:13 PM
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 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 28 Oct 2008, 07:45 AM
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.
0
johnv
Top achievements
Rank 2
answered on 28 Oct 2008, 03:29 PM
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!
Tags
Calendar
Asked by
johnv
Top achievements
Rank 2
Answers by
Vlad
Telerik team
johnv
Top achievements
Rank 2
Share this question
or