Silk skin

DropDownTree - CheckAll and Clear Buttons

Select products:

  • UI for ASP.NET Ajax
    • Grid
    • Scheduler
    • Editor
  • UI for Silverlight
    • Grid
    • Menu
    • Editor
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

The RadDropDownTree control supports CheckAll and Clear buttons. They could be enabled through the buttons settings section and also localized through the localization section of the control.

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb" Inherits="DropDownTree.Examples.Functionality.CheckAllAndClearButtons.DefaultVB" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <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">
       <h2>Select products:</h2>
        <telerik:RadDropDownTree RenderMode="Lightweight" ID="RadDropDownTree1" runat="server" Width="300px"
             OnNodeDataBound="RadDropDownTree1_NodeDataBound" OnDataBound="RadDropDownTree1_DataBound"
            DefaultMessage="Please select" CheckBoxes="SingleCheck"
            DataSourceID="ObjectDataSource1" DataFieldID="ID" DataFieldParentID="ParentID"
            <ButtonSettings ShowCheckAll="true" ShowClear="true" />
            <Localization Clear="Clear All" />
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetSiteData"

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?