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

asp dropdownlist does not light up after raddecorator

3 Answers 35 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Aarsh
Top achievements
Rank 1
Aarsh asked on 10 Oct 2012, 05:34 PM
Hi friends,

Ours are the tab friendly customers, who just tabs off, and type/select.

I have some asp drop down lists, and the decorator seems to be working pretty good except one thing, where they do not light-up (highlight) on focus, which sometimes confuses whether it has got the focus or not. Any workaround for this ?

Thanks,
-Aarsh

3 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 11 Oct 2012, 07:17 AM
Hello,

In order to beautify the elements it needs to add some HTML wrappers that we can style properly around (or sometimes instead of) the elements. Actually we remove the real select elements and replace it with unordered list, as we <select> is not to be styled, while we do not have problems to style <ul>. As after the decoration this is not a real HTML (select) tag it has some issues with keyboard support and we have done everything possible with regard to the many differences between the browsers. Currently navigation through the keyboard is supported in IE and you can use the up and down arrows to navigate through the options and enter or Alt+down to expand the dropdown. It is also not possible to change its style to look selected (i.e. the usual blue background) at this point. If a viable cross-browser solution is found we will incorporate it in the code. Please also note that the focused style varies between browsers - e.g. IE creates a dotted line, while FF adds a box that resembles a shadow around the buttons. All that being said - if keyboard support is extremely important for your site the best suggestion is to revert to a page without the FromDecorator, or to Skip just the Drop down decoration using ControlsToSkip property.

Regards,
Bozhidar
the Telerik team
Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
0
Aarsh
Top achievements
Rank 1
answered on 11 Oct 2012, 01:16 PM
Sweet, our's is mainly IE only application. I was just wondering if we can do some CSS way on on-focus event ?
0
Bozhidar
Telerik team
answered on 11 Oct 2012, 01:54 PM
Hi,

The :focus element is supported for input elements, not LI elements as in the case of decorated dropdown. I tested in IE and you could browse the dropdown list item using keys and each selected item is highlighted with a different background than default one. We can not do things that browser does not allow us to do.

All the best,
Bozhidar
the Telerik team
Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
Tags
FormDecorator
Asked by
Aarsh
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Aarsh
Top achievements
Rank 1
Share this question
or