Client Side Event for RadDatePicker

4 posts, 0 answers
  1. nono
    nono avatar
    10 posts
    Member since:
    Oct 2007

    Posted 06 Nov 2009 Link to this post

    The following event fires fine when selecting a day "ClientEvents-OnDateSelected", my problem is when they select "Today" from the month view this event does not fire, is there another event that fires for this button?

  2. Dimo
    Admin
    Dimo avatar
    8486 posts

    Posted 06 Nov 2009 Link to this post

    Hi nono,

    When you click on "Today" in the month/year fast navigation popup, you are navigated to the current month. No date is selected, so no event is fired.

    Kind regards,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. nono
    nono avatar
    10 posts
    Member since:
    Oct 2007

    Posted 06 Nov 2009 Link to this post

    ok is there a way of actually selecting "Today" or some other button to do today just like the asp.net ajax control.
  4. Dimo
    Admin
    Dimo avatar
    8486 posts

    Posted 06 Nov 2009 Link to this post

    Yes, you can put a button in a header / footer RadCalendar template and assign a Javascript functuon to it, which will select today's date using the control's API.

    http://www.telerik.com/help/aspnet-ajax/calendar_templatesheaderandfootertemplates.html

    http://www.telerik.com/help/aspnet-ajax/calendar_clientsideradcalendar.html


    Kind regards,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top