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

Bug with asp checkbox render

5 Answers 150 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
EmpowerIT
Top achievements
Rank 2
EmpowerIT asked on 22 May 2008, 05:01 AM
Hi
I believe i have found a bug with the rendering of the asp checkbox control. If you have this control on a page, but have not specified a Text property, or if you have an empty Text property value, the checkbox will not render

5 Answers, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 27 May 2008, 05:19 AM
Hello EmpowerIT,

RadFormDecorator is designed to work with semantic and valid code, thus it requires a label (i.e. the text property of the server tag) for accessibility purposes. On the other hand, the actual skinning is carried out by the label itself - we change the background image of the label (checked/unchecked) while the "real" checkboxes and radio buttons are sent far left, away from browser's viewport via css.

If your application does not require label, you may add a simple   as value of the text property and this will put things to work.

Sincerely yours,
Martin Ivanov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Roy
Top achievements
Rank 1
answered on 04 Aug 2008, 12:39 PM
in the same note, i suddenly found the "normal" html checkboxes at the far left side. when looking for a reason, i came across this thread, which mentioned that the way the Rad Decorator decorate the checkboxes is by moving the previous ones to the far left. could i hide it? i don't wanna remove the sideways scroll bar...
i even tried adding ' ' to the text property (as my checkboxes do not require labels) but it didn't help as much...
0
Georgi Tunev
Telerik team
answered on 05 Aug 2008, 01:03 PM
Hello Roy,

Can you please provide more details about your exact setup? What is the problem and what is the expected behavior?


Best wishes,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Roy
Top achievements
Rank 1
answered on 05 Aug 2008, 06:10 PM
i'm using the rad decorator for checkboxes.
problem is the undecorated checkboxes appear in the far left, and there is an horizontal scrollbar.
i removed the scrollbar with 'overflow' but i wouldn't want to impose that on the application...
is there anyway else to eliminate the undecorated checkboxes?
0
Georgi Tunev
Telerik team
answered on 06 Aug 2008, 09:37 AM
Hello Roy,

I believe that the following forum thread can be of help:
http://www.telerik.com/community/forums/thread/b311D-bkdtma.aspx

Please check the code there and let me know if it helps.



Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
FormDecorator
Asked by
EmpowerIT
Top achievements
Rank 2
Answers by
Martin
Telerik team
Roy
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or