Hello,
I've searched and didn't find an answer to have a default node, and then add all the binding nodes inside that on an declarative fashion.
I've come up with a solution but uses server side code:
Thanks in advance!
I've searched and didn't find an answer to have a default node, and then add all the binding nodes inside that on an declarative fashion.
I've come up with a solution but uses server side code:
<telerik:RadTreeView ID="trvEntities" runat="server" DataSourceID="dataSourceEntities" DataFieldID="Id" AppendDataBoundItems="true" OnNodeDataBound="trvEntities_NodeDataBound"> <DataBindings> <telerik:RadTreeNodeBinding TextField="Name" Depth="0" /> </DataBindings> <Nodes> <telerik:RadTreeNode Expanded = "true" Text="Select an Entity" Value="-1" /> </Nodes></telerik:RadTreeView>protected void trvEntities_NodeDataBound(object sender, RadTreeNodeEventArgs e){ trvEntities.Nodes.Remove(e.Node); trvEntities.Nodes[0].Nodes.Add(e.Node);}Thanks in advance!