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

change selected date of calendar when user clicks on appointment

1 Answer 205 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Pooja
Top achievements
Rank 1
Pooja asked on 03 Feb 2012, 01:42 AM
Here is my requirement, when user clicks on a appointment in Month View, say he clicks one appointment on 2nd Feb, and then user selects to go to day view, calendar should go to 2nd Feb.
 I checked the online demos , this is not a default feature of scheduler. I have added a javascript on appointment click to change the selected date, but somehow it is not working, here is the js I am trying
calendarView.set_selectedDate(eventArgs.get_appointment().get_start());
   eventArgs.get_appointment().set_selected();

1 Answer, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 07 Feb 2012, 02:47 PM
Hi Pooja,

The cells representing the days in MonthView have a link number at their top left corner which leads to the day they represent. When this number is clicked, the RadScheduler switches to DayView setting the corresponding date selected. For more info, you could refer to the following online demo: RadScheduler Customization.

Greetings,
Ivana
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Scheduler
Asked by
Pooja
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Share this question
or