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

CheckBox Focus Indication

1 Answer 79 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
That Guy
Top achievements
Rank 2
That Guy asked on 13 Oct 2009, 03:47 PM
Good Day Madams and Sirs,

Once again, if this is a repeat post, guide me to an answer, thank you.

FF vs IE.

When using  the FormDecorator on a page, all skins/styles are applied and working.  However, in Firefox, the application of a skin/style to a CheckBox kills the focus indication (the added border no longer shows on focus).  The mouseover works fine in both browsers.

This can be tested in the demos for the FormDecorator here:
http://demos.telerik.com/aspnet-ajax/formdecorator/examples/default/defaultcs.aspx

Is there anyway to prevent the focus indication from being removed?

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 16 Oct 2009, 07:25 AM
Hi That Guy,

The issue you are experiencing is not related to RadFormDecorator, but rather it has to do with how browsers work - in IE8, the focus is set to the control itself, not to its (if such) <label />. Probably you have noticed that RadFormDecorator hides the real checkboxes and radiobuttons and manipulates their <label /> by swapping "checked" and "unchecked" images, so when you tab to the skinned element, it is actually focused, but the focus dots are not visible because the real control is not visible either.

In older IE versions and in all other browsers, the focus is set either to the <label /> or both to the <label /> and to the control itself, and this is why tabbing works as expected.

At present i cannot give you a solution for IE, however we are thinking of a workaround and once we got it, we will implement it in RadFormDecorator itself.

Best wishes,
Martin Ivanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
FormDecorator
Asked by
That Guy
Top achievements
Rank 2
Answers by
Martin
Telerik team
Share this question
or