popup calendar when gotfocus

5 posts, 0 answers
  1. Sai
    Sai avatar
    4 posts
    Member since:
    Aug 2011

    Posted 30 Oct 2011 Link to this post

    I would like to know is there any way to popup the calendar when the textbox got focus. I have tried to implement the gotFocus event and leaveFocus event of the datepicker but it has a strange behaviour. I know that there is a property 'ShowPopupOnFocus' in ASP.net radDatePicker but it seems that it is not supported in WPF. Would you give any suggestion in handling this case?
  2. Boyan
    Boyan avatar
    758 posts

    Posted 02 Nov 2011 Link to this post

    Hello Sai,

    This feature is not available for RadDatePicker for WPF. Unfortunately with the current implementation of the control no workaround can be made as well. Usually this can be achieved by setting IsDropDownOpen= true on GotFocus event, however in this case when the dropdown which is a popup opens it takes the focus and when close it, the focus goes back to the RadDatePicker and the popup is opened again so you go to an infinite loop.

    I have logged this as a feature request in our PITS, you can follow its progress and vote for it here.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Sai
    Sai avatar
    4 posts
    Member since:
    Aug 2011

    Posted 02 Nov 2011 Link to this post

    Thanks for your reply, Boyan. Looking forward to your enhancement.
  4. Marcel
    Marcel avatar
    42 posts
    Member since:
    Jan 2014

    Posted 10 Jun 2015 Link to this post

    Hello Boyan,

    Is this feature already implemented in the WPF RadDatePicker?

    I have a requirement to implement this feature.

    Or is there a recommended workaround?




  5. Nasko
    Nasko avatar
    698 posts

    Posted 12 Jun 2015 Link to this post

    Hi Marcel,

    This feature has not been implemented yet. However, the item has been migrated into our Feedback portal. On the following link you could track its status and vote for it:

    Unfortunately, we could not suggest you any proper workaround how to achieve the desired behavior except the approach proposed and explained by Boyan.

    Hope the provided information will help you.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top