4 Answers, 1 is accepted
0
Hello,
You could use the following CSS that will bold the asp button:
Note, that the style will affect all asp buttons on the page.
Regards,
Bozhidar
the Telerik team
You could use the following CSS that will bold the asp button:
<head runat="server"> <title></title> <style type="text/css"> .RadForm .rfdSkinnedButton .rfdDecorated {font-weight: bold !important;} </style></head><body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <telerik:RadFormDecorator ID="rfd1" runat="server" DecoratedControls="All" /> <asp:Button ID="btn1" runat="server" Text="Bold Text" /> </form></body></html>Note, that the style will affect all asp buttons on the page.
Regards,
Bozhidar
the Telerik team
Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
0
Mohammed
Top achievements
Rank 2
answered on 16 Aug 2012, 08:51 AM
thanks very much, it is working now.
I'm wondering what if I have many buttons and want some to be in bold and others no, how can that happen please.
I'm wondering what if I have many buttons and want some to be in bold and others no, how can that happen please.
0
Hi,
Just wrap the button that you like to be bold in a span with a specific class name and cascade to make it bold:
Regards,
Bozhidar
the Telerik team
Just wrap the button that you like to be bold in a span with a specific class name and cascade to make it bold:
<head runat="server"> <title></title> <style type="text/css"> .RadForm .boldButton .rfdDecorated {font-weight: bold !important;} </style></head><body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <telerik:RadFormDecorator ID="rfd1" runat="server" DecoratedControls="All" /> <span class="boldButton"><asp:Button ID="btn1" runat="server" Text="Bold Text" /></span> <asp:Button ID="Button1" runat="server" Text="Normal Text" /> </form></body></html>Regards,
Bozhidar
the Telerik team
Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
0
Mohammed
Top achievements
Rank 2
answered on 16 Aug 2012, 11:48 AM
thanks very much,
regards,
regards,