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

Date selection on random date for random time period

1 Answer 62 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Geoff
Top achievements
Rank 1
Geoff asked on 02 Feb 2012, 09:58 PM
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

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 07 Feb 2012, 09:26 AM
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.

Greetings,
Vasil
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
Calendar
Asked by
Geoff
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or