Get Labels use Telerik styles

2 posts, 0 answers
  1. Darin
    Darin avatar
    11 posts
    Member since:
    Jan 2013

    Posted 18 Feb 2013 Link to this post

    I am using all Telerik controls, except for labels, on my web page and the built-in styles look good. The Labels do not use the same styles as the Telerik controls so they look out of place.

    How do I get the Labels to use the same styles that the Telerik controls are using so they look the same?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 20 Feb 2013 Link to this post

    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
    <style type="text/css">
          font: 12px "segoe ui" ,arial,sans-serif !important;
    <asp:Label ID="Label 1" runat="server" CssClass="riLabel" Text="Username"></asp:Label>

Back to Top