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

Label Integration

Instead of setting the Text property of RadCheckBox to configure the text that appears after the checkbox, you can use RadLabel for this purpose. Just set the AssociatedControlID property of the label control to the ID of the checkbox control it will be attached to, as shown in the example above.
  • DefaultVB.aspx
  • styles.css
<%@ Page Language="vb"  %>

<%@ 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 rel="Stylesheet" type="text/css" href="styles.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-thin" style="text-align: center">
        <telerik:RadCheckBox runat="server" ID="RadCheckBox1" AutoPostBack="false">
        </telerik:RadCheckBox>
        <telerik:RadLabel runat="server" ID="RadLabel1" AssociatedControlID="RadCheckBox1" Text="I agree to the Terms & Conditions.">
        </telerik:RadLabel>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance