This question is locked. New answers and comments are not allowed.
I'm using Ajax to refresh the treeview. I'd like to select the node that was selected before the refresh.
After the tree is loaded i can't seem to select the tree with $find("TreeView"). I even tried it with a timeout, to no avail.
So I'd like to do it server side instead. I'm using a model and putting that in the tree.
After the tree is loaded i can't seem to select the tree with $find("TreeView"). I even tried it with a timeout, to no avail.
So I'd like to do it server side instead. I'm using a model and putting that in the tree.
<%Html.Telerik().TreeView().Name("TreeView").ExpandAll(true).Items(item => Model.TreeItems(item, Model.IsAdministrator)).ClientEvents(events => events.OnSelect("TreeOnSelect"))// Like to do something like: .SelectItem(item == Model.MySelectedNode).Render();%>
