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

Change Focus on Combo Closed

1 Answer 91 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
sitefinitysteve asked on 04 Jan 2012, 04:44 AM
I can't seem to set focus to a plain input control on the combo closed event

...only way I can get it to work is by putting in a timer...am I missing something?  When there's no timer the cursor stays IN the combo even though the .focus() code on the input is hit

http://jsfiddle.net/stevescotthome/aB7Yd/17/

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Krustev
Telerik team
answered on 04 Jan 2012, 06:02 PM
Hi,

 
We use setTimeout to persist the focus in the input element when the end user clicks on the popup. Because of this functionality, you should use setTimeout in the close event to focus other input element.

Kind regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ComboBox
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Georgi Krustev
Telerik team
Share this question
or