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

Regarding use of style and label part

1 Answer 38 Views
Input
This is a migrated thread and some comments may be shown as answers.
Bijit Guha Thakurta
Top achievements
Rank 1
Bijit Guha Thakurta asked on 16 Mar 2010, 10:46 AM
I want to use only label part of input control and want to apply a custome style property on that label. But I can't find it.
Actually the thing is that , I have an asp.net web application where I am using Telerik controls.  In that application I have a custom style file having name "style.css" and I have some label controls.
I want to use that custome style[font,fore color, sont size,backcolor etc] part for the label .
But I could not find the proper things for that. I need a suggestive help in this matter using an exmple.

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 18 Mar 2010, 03:29 PM
Hello Bijit,

To set custom styles to the RadInput label, you can assign your custom class to the LabelCssClass property of the input control:

<telerik:RadTextBox ID="RadTextBox1" runat="server" 
    LabelCssClass="myCustomStyle">
</telerik:RadTextBox>


Regards,
Iana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Input
Asked by
Bijit Guha Thakurta
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or