DropDownTree - TextMode

  • UI for ASP.NET Ajax
  • UI for Silverlight
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB
Please select a DropDownNode and the entry's text will show the full path of the node.

RadDropDownTree supports two modes of text visualization – Default and FullPath. When FullPath option is selected the full path of the selected DropDownNode is shown in the control. Setting TextMode property to Default only DropDownNode’s text is presented.

Every entry has FullPath property which gets the full path of the selected/checked DropDownNode.

  • DefaultCS.aspx
<%@ Page Inherits="Telerik.QuickStart.QsfPage"  %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<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">
            <telerik:RadDropDownTree RenderMode="Lightweight" ID="RadDropDownTree2" runat="server" Width="300px" DefaultMessage="Please select"
                DataSourceID="ObjectDataSource1" DataFieldID="ID" DataFieldParentID="ParentID" TextMode="FullPath"
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetSiteData"

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?