<%@ Page 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-thin">
<telerik:RadPanelBar RenderMode="Lightweight" ID="RadPanelBar1" runat="server" Width="300px" Height="300" ExpandMode="FullExpandedItem"
DataSourceID="SqlDataSource1" DataFieldID="id" DataFieldParentID="ParentId">
<DataBindings>
<telerik:RadPanelItemBinding Depth="0" TextField="Text" Expanded="true" />
<telerik:RadPanelItemBinding FormatString="Level 1 > {0}" TextField="Text" Depth="1" />
<telerik:RadPanelItemBinding FormatString=" Level 2 > {0}" TextField="Text" Depth="2" />
</DataBindings>
</telerik:RadPanelBar>
</div>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" SelectCommand="select id, text, parentId from Links"
ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>"></asp:SqlDataSource>
</form>
</body>
</html>