This question is locked. New answers and comments are not allowed.
Hello,
I've implemented a custom extension method which I use to bind the TreeView to my items. The problem was that the TreeView doesn't support multiple types of children when using Bind. So my extension method looks s.th. like this:
This works gread for binding to my collection of users.
The TreeView has context menu, through which I call a Telerik Window control that I use to add new users to the souce. The problem is that when I update the datasource somehow the treeview calls this method DataBindToIUserCollection, but never rebind to the new source!
Can you tell me how I can workaround this?
I've implemented a custom extension method which I use to bind the TreeView to my items. The problem was that the TreeView doesn't support multiple types of children when using Bind. So my extension method looks s.th. like this:
public static TreeViewBuilder DataBindToIUserCollection(this TreeViewBuilder tree, IUser users){ return tree.Items(items => items.Add.......)}This works gread for binding to my collection of users.
The TreeView has context menu, through which I call a Telerik Window control that I use to add new users to the souce. The problem is that when I update the datasource somehow the treeview calls this method DataBindToIUserCollection, but never rebind to the new source!
Can you tell me how I can workaround this?