This question is locked. New answers and comments are not allowed.
I use with the RadTreeView control -
RadTreeView radTreeView = new RadTreeView ();
I created
class DataItem()
{
...
List<<DataItem> Items {get; set;}
}
in the Page.cs I created a list<DataItem> items and I was enter my data into it.
radTreeView.ItemSource=items;.
when its run the tree is display.
But I have one problem-
when I load the application I want a few tree view items to be checked.
I can not write: radTreeView .Items[0].CheckState because it "DataItem type and not radTreeViewItem type
how can I do the node to be checked?
thanks
RadTreeView radTreeView = new RadTreeView ();
I created
class DataItem()
{
...
List<<DataItem> Items {get; set;}
}
in the Page.cs I created a list<DataItem> items and I was enter my data into it.
radTreeView.ItemSource=items;.
when its run the tree is display.
But I have one problem-
when I load the application I want a few tree view items to be checked.
I can not write: radTreeView .Items[0].CheckState because it "DataItem type and not radTreeViewItem type
how can I do the node to be checked?
thanks