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

Button Skin In Radgrid

1 Answer 144 Views
Button
This is a migrated thread and some comments may be shown as answers.
Danny
Top achievements
Rank 2
Danny asked on 31 Oct 2013, 02:00 PM

I have two RadButtons in a FooterTemplate of a RadGrid. The RadGrid has the Metro skin.

Both buttons showed the 'Default' skin appearance, which is the desired effect, despite not having their Skin="Default" attribute set.  I thought they would inherit the Metro skin, but I was mistaken.

However, when I changed one of the button types to LinkButton the button shows a Metro-like skin (see attached image).  How do I get the link button to have the Default skin appearance?  Setting Skin="Default" does not do the trick. 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Danail Vasilev
Telerik team
answered on 05 Nov 2013, 01:00 PM
Hello Danny,

Generally the appearance of the RadButton (ButtonType="LinkButton") is different than the appearance of the RadButton (ButtonType="StandardButton"). The link buttons uses CSS3 while the standard button uses sprite image for its background image. There is, however, similarity between the appearance of both buttons in the described case - standard button with Metro skins look almost similar to the link button. Note that this is a sequence of the Metro skin in general.

If you want to approach the link button's appearance to the one of the standard button's you can apply rounded corners to it. For example:
<telerik:RadButton ID="RadButton1" runat="server" ButtonType="LinkButton" CssClass="rbRounded" Text="Click" />


Regards,
Danail Vasilev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Button
Asked by
Danny
Top achievements
Rank 2
Answers by
Danail Vasilev
Telerik team
Share this question
or