TreeView - Directory Structure

  • Examples
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB
This example demonstrates how to populate on demand RadTreeView using folders and files. Note that the binding logic is implemented in code behind.
  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="TreeView.Examples.ApplicationScenarios.DirectoryStructure.DefaultCS"Language="c#"  %>

<%@ 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-narrow">
        <telerik:RadTreeView RenderMode="Lightweight" ID="RadTreeView1" runat="server"  Height="300px"

Find Assistance

Help Us Improve

Was this example helpful?