I'm creating a treeview via a database. Currently, only the root node is displayed when the page loads. Is there an equivilent to the Microsoft Treeview ExpandDepth so that I can display the first level underneath the root as well?
I tried expanding root node in the code behind without success. Here is my code:
Thanks!
I tried expanding root node in the code behind without success. Here is my code:
<telerik:RadTreeView ID="RadTreeView1" runat="server" DataSourceID="DataMart" DataFieldID="cellkey" |
DataFieldParentID="cellparent" DataTextField="celldescriptor" |
LoadingStatusPosition="BeforeNodeText" SingleExpandPath="True"> |
<CollapseAnimation Duration="100" Type="None" /> |
<ExpandAnimation Duration="100" Type="None" /> |
</telerik:RadTreeView> |
<asp:SqlDataSource ID="DataMart" runat="server" ConnectionString="<%$ ConnectionStrings:DataMart %>" |
SelectCommand="SST.PR_GET_JUPITER_TREE" SelectCommandType="StoredProcedure"> |
<SelectParameters> |
<asp:Parameter DefaultValue="2" Name="Starting_Node" Type="Int32" /> |
</SelectParameters> |
</asp:SqlDataSource> |
Thanks!