I want to bind my radtreelist control to database. em getting only the column names and not getting treelist structure...
em pasting my below...
and also find the find attachment to know table view which is datasource to my treelist control...
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head runat="server">
<title></title>
</
head>
<
body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="scriptmanager" runat="server"></telerik:RadScriptManager>
<div>
<telerik:RadTreeList ID="treelist" runat="server"
AllowPaging="True" DataKeyNames="FirstName" ParentDataKeyNames="gender"
DataSourceID="SqlDataSource1" GridLines="Horizontal" AutoGenerateColumns="true"
ShowTreeLines="False" >
<PagerStyle Mode="NextPrev" />
</telerik:RadTreeList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:TestConnectionString1 %>"
SelectCommand="SELECT [MobileNumber], [P_Id], [FirstName], [MiddleName], [LastName], [JObTitle], [DOB], [EmailID], [gender] FROM [Persons]">
</asp:SqlDataSource>
</div>
</form>
</
body>
</
html>