Date selection on random date for random time period

2 posts, 0 answers
  1. Geoff
    Geoff avatar
    1 posts
    Member since:
    Feb 2012

    Posted 02 Feb 2012 Link to this post

    Hi there, is it possible to have the same functionality that appears when selecting an entire week (the week selected rolls over and the week is selected on click) but have this kick off once selecting a specific day and setting the selection period

    For example if a user were to hover over a random day, and the selection period set was x days, could i have the mouse over highlight for x days from a random date and once that date was clicked then that date and those x days would be selected.

    any help would be appreciated
  2. Vasil
    Vasil avatar
    1642 posts

    Posted 07 Feb 2012 Link to this post

    Hi Geoff,

    You could do it manually.
    First handle the client side DateClick event of the RadCalendar.
    And then use set_datesInRange to select the dates in required period.
    Note that you will need to calculate the periods yourself.

    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