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

Server-side Templates

RadDropDownTree  provides several templates for easier customization of the dropdown.

Header Template - positioned at the very top of the DropDown it can easily be customized in order to match the desired appearance.

Node Template - you can create a single template that could be applied to all of the nodes in the DropDownTree.

Footer Template - positioned at the very bottom of the dropdown it enables you set your custom footer.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • styles.css
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="DropDownTree.Examples.Functionality.Templates.DefaultCS" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<!DOCTYPE html>
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container no-bg size-wide">
        <div class="content">
            <div class="dropdowntreeholder">
                <telerik:RadDropDownTree RenderMode="Lightweight" ID="RadDropDownTree1" runat="server" Width="350px" Skin="Default"
                    DefaultMessage="Please select a person from the list">
                    <DropDownSettings Width="350px" />
                        <div class="header">
                            <span>Employees </span>
                        <div class="nodeTemplate">
                                <%# DataBinder.Eval(Container, "Text") %>
                        <div class="footer">
                            <span>End of list</span>

Support & Learning Resources

Find Assistance