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

RadComboBox clientside focus issue

1 Answer 94 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Morten Bomholt
Top achievements
Rank 1
Morten Bomholt asked on 16 Apr 2009, 08:45 AM
Hey at Telerik

My problem is that i would like to use enter key as tab key. It worked perfectly in Q3 2008 release, but i have upgraded to Q1 2009 and suddenly i'm having problems. I use the inputDomElement to give focus to a radcombobox, that does't work anymore, and furthermore it seems like the focus is somhow locked so i can't set focos to next element once i set focus to a radcombobox.

I have included an example which illustrates the problem. It can be found here. http://80.166.206.186/Screendump/

 

I hope there is a way to fix this easily.

Morten

1 Answer, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 20 Apr 2009, 01:19 PM
Hi Morten Bomholt,

You can modify your code like this:

                            if (sender.get_element().parentNode.nextSibling.children[0].tagName == "DIV") {
                                var next = $find(sender.get_element().parentNode.nextSibling.children[0].id);
                                var input = next.get_inputDomElement();
                                window.setTimeout(function() { input.focus(); }, 0);
                            }
It seems RadComboBox focuses itself because if item selection after pressing the enter key.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ComboBox
Asked by
Morten Bomholt
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or