public ICollection<Employe> Data
{
set
{
this.RadTreeView.DataSource = value;
this.RadTreeView.DataBind();
this.RadTreeView.ExpandAllNodes();
}
}
Tree view nodes are not expanded. Is there another way to do this?
1 Answer, 1 is accepted
0
Plamen
Telerik team
answered on 25 Jun 2012, 11:45 AM
Hi Catalina,
You can set the Expanded="True" property in the DataBindings of RadTreeview as it is done in the Programmatic Data Binding:
<DataBindings>
<telerik:RadTreeNodeBinding Expanded="True" />
</DataBindings>
Hope this will be helpful.
Regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.