change selected date of calendar when user clicks on appointment

2 posts, 0 answers
  1. Pooja
    Pooja avatar
    55 posts
    Member since:
    Feb 2011

    Posted 02 Feb 2012 Link to this post

    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();
  2. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 07 Feb 2012 Link to this post

    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 >>
Back to Top