<%@ Page Language="vb" AutoEventWireup="false" Inherits="Telerik.TreeListExamplesVBNET.DataBinding.SimpleVsAdvancedBinding.DefaultVB"CodeFile="DefaultVB.aspx.vb" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<!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 no-bg">
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" MinDisplayTime="0"></telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxPanel ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1" runat="server">
<telerik:RadTreeList RenderMode="Lightweight" Width="100%" ID="RadTreeList1" AllowLoadOnDemand="true" AllowSorting="true" AllowPaging="true" PageSize="15" AutoGenerateColumns="false"
OnChildItemsDataBind="RadTreeList1_ChildItemsDataBind" OnNeedDataSource="RadTreeList1_NeedDataSource" OnUpdateCommand="RadTreeList1_UpdateCommand"
DataKeyNames="ID" ParentDataKeyNames="ParentID" AllowMultiItemSelection="true" runat="server">
<Columns>
<telerik:TreeListButtonColumn CommandName="Edit" Text="Edit" UniqueName="EditCommandColumn" HeaderStyle-Width="50px" ItemStyle-HorizontalAlign="Center"></telerik:TreeListButtonColumn>
<telerik:TreeListBoundColumn DataField="ID" HeaderText="ID" ReadOnly="true" UniqueName="ID" HeaderStyle-Width="75px" ForceExtractValue="Always"></telerik:TreeListBoundColumn>
<telerik:TreeListBoundColumn DataField="StringItem" HeaderText="StringItem" UniqueName="StringItem" HeaderStyle-Width="175px"></telerik:TreeListBoundColumn>
<telerik:TreeListDateTimeColumn DataField="DateItem" HeaderText="DateItem">
</telerik:TreeListDateTimeColumn>
<telerik:TreeListNumericColumn DataField="NumberItem" HeaderText="NumberItem" UniqueName="NumberItem" HeaderStyle-Width="150px"></telerik:TreeListNumericColumn>
<telerik:TreeListCheckBoxColumn DataField="BoolItem" HeaderText="BoolItem" HeaderStyle-Width="100px" UniqueName="BoolItem">
</telerik:TreeListCheckBoxColumn>
<telerik:TreeListBoundColumn DataField="ParentID" ReadOnly="true" HeaderText="ParentID" UniqueName="ParentID" ForceExtractValue="Always" HeaderStyle-Width="100px"></telerik:TreeListBoundColumn>
</Columns>
<ClientSettings>
<Selecting AllowItemSelection="true" AllowToggleSelection="true"></Selecting>
</ClientSettings>
</telerik:RadTreeList>
</telerik:RadAjaxPanel>
</div>
</form>
</body>
</html>