<%@ Page Language="vb" AutoEventWireup="false" Inherits="Telerik.TreeListExamplesVBNET.DefiningStructure.ProgrammaticDefinition.DefaultVB"CodeFile="DefaultVB.aspx.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" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadTreeList2">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadTreeList2" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<div class="demo-container" style="max-width:800px">
<h2 class="qsfSubtitle">RadTreeList created entirely in code-behind on Page_Init</h2>
<telerik:RadAjaxPanel runat="server" ID="RadAjaxPanelPanel1" LoadingPanelID="RadAjaxLoadingPanel1">
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
</telerik:RadAjaxPanel>
<br />
<br />
<br />
<h2 class="qsfSubtitle">RadTreeList decalared statically with structure defined on Page_Load</h2>
<telerik:RadTreeList RenderMode="Lightweight" ID="RadTreeList2" runat="server">
</telerik:RadTreeList>
</div>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" SelectCommand="SELECT [ReportsTo], [EmployeeID], [LastName], [FirstName], [HireDate], [City], [PostalCode], [Country] FROM [Employees]"></asp:SqlDataSource>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel>
</form>
</body>
</html>