Is it possible to have the calendar control with the date picker never close?

2 posts, 0 answers
  1. Shilpi
    Shilpi avatar
    18 posts
    Member since:
    Jan 2012

    Posted 18 Nov 2012 Link to this post

    I want the Calendar Control with datePicker to stay open even with Date selection change. The reason I don't want to use the Calendar Control is because I want to give the user an option to type in the date as well.

    Thanks, Shilpi
  2. Boyan
    Boyan avatar
    758 posts

    Posted 22 Nov 2012 Link to this post

    Hi Shilpi,

    This can't be done out of the box. Here are some ways that you can achieve this:

    1. You can modify the template of the control and set to its DropDownButton (x:Name="PART_DropDownButton") IsOpen = true. The setback will be that if you have more than 1 DatePicker on the page clicking on one of the dropdowns will close the other.

    2. You can use DatePicker and just set  IsDropDownOpen="True" on Focus.

    3. You can use two controls- 1 Calendar and one RadMaskedDateTimeInput and bind them to the same value in your ViewModel.

    Hope this helps.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top