Date Range Selection

2 posts, 0 answers
  1. Levi
    Levi avatar
    53 posts
    Member since:
    Jun 2010

    Posted 24 Jun 2010 Link to this post

    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!
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 25 Jun 2010 Link to this post

    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.
Back to Top