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

Get Labels use Telerik styles

1 Answer 91 Views
SkinManager
This is a migrated thread and some comments may be shown as answers.
Darin
Top achievements
Rank 1
Darin asked on 18 Feb 2013, 09:46 PM
I am using all Telerik controls, except for asp.net labels, on my web page and the built-in styles look good. The asp.net Labels do not use the same styles as the Telerik controls so they look out of place.

How do I get the asp.net Labels to use the same styles that the Telerik controls are using so they look the same?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 20 Feb 2013, 09:48 AM
Hello Darin,

To give look and feel to asp:label you will need to create custom CSS. There is no other way to inherit Telerik Skin to asp controls.
For example try the following CSS
CSS:
<style type="text/css">
   .riLabel
   {
      font: 12px "segoe ui" ,arial,sans-serif !important;
   }
</style>
aspx:
<asp:Label ID="Label 1" runat="server" CssClass="riLabel" Text="Username"></asp:Label>

Thanks
Princy.
Tags
SkinManager
Asked by
Darin
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or