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

popup calendar when gotfocus

4 Answers 170 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Sai
Top achievements
Rank 1
Sai asked on 31 Oct 2011, 04:21 AM
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?

4 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 02 Nov 2011, 04:43 PM
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.

Greetings,
Boyan
the Telerik team

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

0
Sai
Top achievements
Rank 1
answered on 03 Nov 2011, 02:30 AM
Thanks for your reply, Boyan. Looking forward to your enhancement.
0
Marcel
Top achievements
Rank 1
answered on 10 Jun 2015, 12:22 PM

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?

Regards,

 

Marcel

0
Nasko
Telerik team
answered on 12 Jun 2015, 09:23 AM
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:
http://feedback.telerik.com/Project/143/Feedback/Details/113402-create-property-that-allows-to-open-the-dropdown-on-focus

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.

Regards,
Nasko
Telerik
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
Tags
DatePicker
Asked by
Sai
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Sai
Top achievements
Rank 1
Marcel
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or