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

Date Range Selection

1 Answer 107 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Levi
Top achievements
Rank 1
Levi asked on 24 Jun 2010, 04:47 PM
Is there a way to allow the user to select a range of dates. I basically have a multi-month calendar (3 months side by side), and I want the user to be able to click a date on one and then another date on another and have it select all the dates in between. Kind of like how the Google Analytics calendar works. Are there any plans to add this type of control or can this be achieved with the current calendar control. If the user clicks on the third date it would need to clear the current dates selected, etc.

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 25 Jun 2010, 06:36 AM
Hello,

I guess you can achieve this by combining RadComboBox control and Calendar control as ItemTemplate for RadComboBox.

In the DateSelected event of the Calendar control, set the text for the RadComboBox using client code. And place one button in the FooterTemplate of RadComboBox for closing the dropdown. You can also customize the appearance of these controls to look like a single date range selector control.

-Shinu.
Tags
Calendar
Asked by
Levi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or