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

Completely remove button css

2 Answers 287 Views
Button
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 28 Nov 2012, 11:49 PM
Hello,

I'm trying to use radbuttons in a dotnetnuke install and I'm having trouble. The button keeps getting the default css classes even though I have all of these: EnableEmbeddedBaseStylesheet="false" EnableBrowserButtonStyle="false" EnableTheming="false" EnableAjaxSkinRendering="false"

Is there something I'm missing? Is there no way to get it to stop putting the "RadButton RadButton_Default rbLinkButton" into the class for the outputed div?

I am mostly just using the button for the single-click option - otherwise, I just want it to work like a normal linkbutton.

Thanks,

Mike

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 29 Nov 2012, 06:11 AM
Hi Mike,

I suppose you want to make the RadButton look like a LinkButton. Here is the code snippet I tried to achieve your scenario.

ASPX:
<telerik:RadButton ID="RadButton1" runat="server" ButtonType="LinkButton" Text="RadButton" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false">
</telerik:RadButton>

Hope this helps.

Regards,
Princy.
0
Mike
Top achievements
Rank 1
answered on 29 Nov 2012, 05:22 PM
Ahh thank you - I was missing the "EnableEmbeddedSkins".

Mike
Tags
Button
Asked by
Mike
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Mike
Top achievements
Rank 1
Share this question
or