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

Disable autogenerated styles

1 Answer 154 Views
Button
This is a migrated thread and some comments may be shown as answers.
Gabriele Del Pozzo
Top achievements
Rank 1
Gabriele Del Pozzo asked on 29 Feb 2016, 05:06 PM

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

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 01 Mar 2016, 03:31 PM
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
Tags
Button
Asked by
Gabriele Del Pozzo
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or