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

Problem with RadButton Skin

3 Answers 216 Views
Button
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 06 Dec 2011, 03:28 PM
Hello,
               
              Recently i am working with RadButton when we apply skin to it and run it. It is not diplayed properly it is Displayed like Broken
Button, i am  sending image of the button with this mail..  Pls Respond...


   
      



 

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 07 Dec 2011, 04:31 AM
Hello,

I have tried the same but no avail. I am using the version 2011, 2, 915, 35. Here is the screenshot

ASPX:
<telerik:RadButton ID="btnskin" runat="server" Text="SKIN" Skin="Sunset">
</telerik:RadButton>

Thanks,
Princy.
0
Abhishek
Top achievements
Rank 2
answered on 17 Jan 2012, 07:13 AM
Hello Raj,
I have created your scenario as per your statements.When you apply skin on button its displaying like broken because of your RadButton css Width. Please find the attachment for image. The below logic without broken skin works fine in chrome, firefox, etc. but not IE. 
<style type="text/css">
.RadButton .rbDecorated
{
    min-width: 400px !important;
}
</style>
<telerik:RadButton ID="btnskin" runat="server" Text="Broken Skin" Skin="Black">
</telerik:RadButton>


So Solution to your problem is overide the css properties in your page level then it works in IE also smoothly:
<style type="text/css">
.RadButton .rbDecorated
{
    min-width: 400px !important;
    padding-left:0px !important;
    padding-right:0px !important;
    background-repeat:repeat-x !important;
}
</style>
<telerik:RadButton ID="btnskin" runat="server" Text="Not Broken Skin" Skin="Black">
</telerik:RadButton> Thanks, Abhishek Kadam
0
Kaushal
Top achievements
Rank 1
answered on 17 Jan 2012, 12:19 PM
Hi Abhishek,

I tried you way for RadButton. And its working fine. Please see attached image.

Thanks,

Kaushal Jani
Tags
Button
Asked by
Raj
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Abhishek
Top achievements
Rank 2
Kaushal
Top achievements
Rank 1
Share this question
or