We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Setting focus to Drop Down List

Thread ID:

Created:

Updated:

Platform:

Replies:

117353 Oct 2,2014 08:51 PM UTC Oct 6,2014 11:11 AM UTC ASP.NET MVC 3
loading
Tags: DropDownList
Randy Craven
Asked On October 2, 2014 08:51 PM UTC

Hello,

I have a dialog with two standard html input elements and a Syncfusion drop down list.  As expected, the tab key will move focus from the first input element to the second.  Is there a way to set focus to the drop down list when the user presses the tab key inside of the second input element? 

Thanks, Randy

Here is a simplified version of the code:

   








Saranya Sivakumar [Syncfusion]
Replied On October 3, 2014 10:28 AM UTC

Hi Randy,

Thanks for using Syncfusion products.

We would like to let you know that, the Dropdownlist gets focused when the user presses the tab key inside of the second input element. When the dropdownlist is in focus it gets highlighted with the shadow around it. Since the dropdownlist is not in editable state we have to change the input item by pressing up arrow key or down arrow key. So that we can select the items in the dropdownlist.

For your convenience we have prepared the sample and you can download the same under the following location.

Sample Location: Sample

Please let us know if you have further concern.

Regards,

Saranya.S


Randy Craven
Replied On October 3, 2014 07:22 PM UTC

Hello Saranya,

Thank you for your message.

I see now that the drop down list does indeed get the focus.  I didn't observe it before; the visual effect is so subtle compared to the text boxes that I assumed it was not getting focus.

Thanks again for your reply.
Randy

Saranya Sivakumar [Syncfusion]
Replied On October 6, 2014 11:11 AM UTC

Hi Randy,
Thanks for your update.
Please let us know if you have further concern.

Regards,
Saranya.S

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;