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

Directory Structure

  • Examples
This example demonstrates how to populate on demand RadTreeView using folders and files. Note that the binding logic is implemented in code behind.
  • DefaultVB.aspx
  • DefaultVB.aspx.vb
<%@ Page AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb" Inherits="TreeView.Examples.ApplicationScenarios.DirectoryStructure.DefaultVB"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>
</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-narrow">
        <telerik:RadTreeView RenderMode="Lightweight" ID="RadTreeView1" runat="server"  Height="300px"
            OnNodeExpand="RadTreeView1_NodeExpand">
        </telerik:RadTreeView>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance