Change Month in Scheduler

4 posts, 0 answers
  1. teke
    teke avatar
    2 posts
    Member since:
    Sep 2011

    Posted 09 Sep 2011 Link to this post

    Hi there,

    nice controls! Actually bought 2 licenses a few days ago for my company ...

    Here is my question:

    How can I change the month (or week, day) of the scheduler based on an external event (like onclick() in ListBox1) - in JAVASCRIPT? No postback and/or web service, please!

    Can this be done?
    Yes => How?
    No => Can you refer me to an example with server side code?
    Thanks a million times!



  2. teke
    teke avatar
    2 posts
    Member since:
    Sep 2011

    Posted 12 Sep 2011 Link to this post

    Any comments on this one, please?
  3. Gint
    Gint avatar
    9 posts
    Member since:
    Sep 2011

    Posted 14 Sep 2011 Link to this post

    The OnClientNavigationCommand  includes the function get_selectedDate(). (the date that RadScheduler will navigate to)

    Question to Telerik: do you offer a set_selectedDate() too?
  4. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 13 Sep 2012 Link to this post

    Hi Gint,

    Try the following JavaSCript to set a date to be selected in RadScheduler.

    JS:
    var RadScheduler = $find('<%=RadScheduler1.ClientID %>');
    RadScheduler.set_selectedDate(date);

    Hope this helps.

    Regards,
    Princy.
Back to Top