Please accept my apologies for the omission. It seems like you are using the RadButton for ASP.NET AJAX. This is why we ask that you choose the correct forum - in the different suites we often have controls with similar or even exactly the same names, because they have common functionality. When a question is posted in a forum it is taken in the context of the respective technology and just a small snippet may not always be sufficient to note the difference.
Now, to your question - most of the built-in skins of the RadButton for ASP.NET AJAX have rounded corners, which you can examine in their online demos, e.g. here: http://demos.telerik.com/aspnet-ajax/button/examples/default/defaultcs.aspx
. You can change the skin via the Skin Chooser on the top right corner.
What happens in your case is that your RadButton is not properly configured
1) you have basically disabled the built-in skins by setting an empty string to the Skin property. Please use one of the 19 built-in skins. In case you wish to create a custom skin please start with examining this article
that treats this endeavor.
2) you have set many properties that usually should not be used - BorderColor, BorderStyle, Margin, etc. The RadButton's skin is controlled via its own CSS rules and image sprites, so setting these properties may not have the desired effect, as they are not implemented, they are simply inherited from the common Control class.
3) HTML elements are, by definition, boxes, they do not have rounded corners. Rounded corners were introduced with CSS3 and can only be displayed by browsers that support CSS3. You can see this online demo on using pure CSS techniques to create a RadButton with rounded corners: http://demos.telerik.com/aspnet-ajax/button/examples/css3buttons/defaultcs.aspx
What I would advise is to leave only the Text, Skin (but set properly), AutoPostback, Width, ID and runat properties and see how it fits your needs.
All the best,
the Telerik team
Sharpen your .NET Ninja skills
! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>