New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Bigger Icons and Buttons

Standard Button and standard font size
Standard Button with larger Primary Icon and larger font-size
Standard Button with larger Secondary Icon and larger font-size
Standard Button with larger Primary and Secondary Icons and larger font-size
Standard Button with larger Primary Icon and larger font-size
Standard Button with larger Secondary Icon and larger font-size

The embedded icons of RadButton in Lightweight render mode are font icons. Using a font facilitates the customization of the icons. For example, you can change the size of the icons by configuring a larger font size for the RadButton control, as shown in the example above.

  • DefaultCS.aspx
  • styles.css
<%@ Page Language="c#" AutoEventWireup="true"  %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container size-wide">
        <asp:Panel ID="Panel1" runat="server">
            <table cellpadding="0" cellspacing="0" border="0" class="predIcons">
                <thead>
                    <tr>
                        <td style="width: 200px;">
                            <label>
                                <strong>Button Description</strong>
                            </label>
                        </td>
                        <td style="width: 200px;">
                            <label>
                                <strong>Button</strong></label>
                        </td>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>Standard Button and standard font size
                        </td>
                        <td>
                            <telerik:RadButton RenderMode="Lightweight" ID="RadButton1" runat="server" Text="Standard Button" Height="65px"
                                AutoPostBack="false" Skin="Metro">
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr class="dark">
                        <td>Standard Button with larger Primary Icon and larger font-size
                        </td>
                        <td>
                            <telerik:RadButton RenderMode="Lightweight" ID="RadButton3" runat="server" Text="Add" Height="65px" AutoPostBack="false"
                                Font-Size="18px" Skin="Metro">
                                <Icon PrimaryIconCssClass="rbAdd" PrimaryIconLeft="8" PrimaryIconTop="20"></Icon>
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr>
                        <td>Standard Button with larger Secondary Icon and larger font-size
                        </td>
                        <td>
                            <telerik:RadButton RenderMode="Lightweight" ID="RadButton2" runat="server" Text="Remove" Height="65px" AutoPostBack="false"
                                Font-Size="20px" ForeColor="Red" Skin="Metro">
                                <Icon SecondaryIconCssClass="rbRemove" SecondaryIconRight="8" SecondaryIconTop="20"></Icon>
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr class="dark">
                        <td>Standard Button with larger Primary and Secondary Icons and larger font-size
                        </td>
                        <td>
                            <telerik:RadButton RenderMode="Lightweight" ID="RadButton4" runat="server" Text="Social Networks" Height="65px"
                                AutoPostBack="false" Font-Size="18px" Skin="Metro">
                                <Icon PrimaryIconCssClass="rbFB" SecondaryIconCssClass="rbTwitter"></Icon>
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr>
                        <td>Standard Button with larger Primary Icon and larger font-size
                        </td>
                        <td>
                            <telerik:RadButton RenderMode="Lightweight" ID="RadButton5" runat="server" Text="Print" Height="65px" AutoPostBack="false"
                                Font-Size="18px" Skin="Metro">
                                <Icon PrimaryIconCssClass="rbPrint" PrimaryIconLeft="8" PrimaryIconTop="25"></Icon>
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr class="dark">
                        <td>Standard Button with larger Secondary Icon and larger font-size
                        </td>
                        <td>
                            <telerik:RadButton RenderMode="Lightweight" ID="RadButton6" runat="server" Text="Add to Cart" Height="65px"
                                AutoPostBack="false" Font-Size="18px" Skin="Metro">
                                <Icon SecondaryIconCssClass="rbCart" SecondaryIconRight="12" SecondaryIconTop="25"></Icon>
                            </telerik:RadButton>
                        </td>
                    </tr>
                </tbody>
            </table>
        </asp:Panel>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance