FailsAroundTheWorld
New Member
ASPX\[code\]<dx:ASPxTreeList ID="ASPxTreeListLocations" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSourceUserMetersTree" KeyFieldName="sno" ParentFieldName="ParentId" Width="300px" SettingsSelection-Recursive="true" Theme="Office2010Black"> <Columns> <dx:TreeListTextColumn FieldName="Text" VisibleIndex="0" Caption="Lokasyon"> </dx:TreeListTextColumn> </Columns> <SettingsBehavior AutoExpandAllNodes="True" /> <SettingsSelection Enabled="True" /></dx:ASPxTreeList><asp:SqlDataSource ID="SqlDataSourceUserMetersTree" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"></asp:SqlDataSource>\[/code\]CODEBEHID\[code\]protected void Page_Load(object sender, EventArgs e){ SqlDataSourceUserMetersTree.SelectCommand = "SELECT * FROM Tree"; ASPxTreeListLocations.DataBind();}\[/code\]QUESTION:Codes are working well. I want to recursive selection, but this property is not working. If I define SqlDataSource selectCommand in aspx side, it works. I cant find any solution. No error message. Any advice?Thanks...