Disable autogenerated styles

2 posts, 0 answers
  1. Gabriele Del Pozzo
    Gabriele Del Pozzo avatar
    1 posts
    Member since:
    Jun 2013

    Posted 29 Feb Link to this post

    Hi all,

     

    I need the radbutton control not to autogenerate styles. I'd like to style the control with my css style sheet.

    To put it simple, if I check the generated HTML for the control, I find something like:

    class="RadButton RadButton_Default rbSkinnedButton myCssClass"

    I don't want the first 3 class, but only my own class, myCssClass

     

    Is there anyway to work it around?

    Thank you

  2. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 01 Mar Link to this post

    Hi Gabriele,

    You can easily disable the embeded styling of our controls by configuring the EnableEmbeddedSkins and EnableEmbeddedBaseStylesheet properties to "false":
    <telerik:RadButton ID="RadButton1" runat="server" Text="Button" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false"></telerik:RadButton>

    Regards,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top