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

Styling for Label Controls

1 Answer 129 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Sathish
Top achievements
Rank 1
Sathish asked on 29 Jan 2009, 08:09 PM
How do I make all the label controls in the page look like the text of a checkbox control. Currently a the checkbox gets styles (along with its text). I want the rest of labels in the page to have the same style as the text in the checkbox.

How do I do that? Please help.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 30 Jan 2009, 09:59 AM
Hello Sathish,

Are we talking about the asp:label control or the standard HTML label element? RadFormDecorator decorates the HTML label element only. Decoration of asp:label controls is currently not possible because they are rendered as <span> and there is no way for the RadFormDecorator control to distinguish them between other spans in the rendered HTML. If you are talking about asp:labels, you need to use custom CSS to change the control's look.


Greetings,
Georgi Tunev
the Telerik team

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