RadButton Styling

2 posts, 1 answers
  1. Zach
    Zach avatar
    12 posts
    Member since:
    Apr 2009

    Posted 29 Nov 2010 Link to this post

    I'm working on the new RadButton and I've noticed an issue.

    This one maybe something elementary that I am missing but I'm not quite sure how to simply make the text-font bold, either through css or the design-time code.  This simple button for some reason does not make the font bold:

    <t:RadButton ID="rbtnGenerateReport" runat="server" Text="Generate Report" Font-Bold="true" />

    And it doesn't seem to be just 'font-bold', it also seems that all the 'font' properties don't work.

    Thanks in advance!
  2. Answer
    Bozhidar avatar
    693 posts

    Posted 30 Nov 2010 Link to this post

    Hello Zach,

    We are aware of that problem and it will be fixed for the next official release, which is scheduled for the mid December - Q3 Service Pack 1.

    If you want to have bold font with RadButton, you could use the following CSS in the head section of your document:

    .rbDecorated {font-weight: bold !important;}

    Instead bold you could also use italic or both together.

    Best wishes,
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top