This is a migrated thread and some comments may be shown as answers.

[Solved] Using Tree View for Navigation within Tree

0 Answers 88 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Frank Michael
Top achievements
Rank 1
Frank Michael asked on 02 Jun 2010, 02:38 PM

I have a Tree of workitems in my data model. I am evaluating Telerik MVC Tree View to navigate within the tree.

This is a scenario:

Top Workitem

>First Subworkitem

>Second Subworkitem

>>First SubSubworkitem

>>Second SubSubworkitem

>>>First SubSubSubworkitem

>>>Second SubSubSubworkitem

Now consider I am on the detail page of the First SubSubworkitem. I have a Tab there with “Navigation”. When I go to the tab, I see this tree:

>>Second SubSubworkitem

When I expand the SubSub Workitem I would see:

>>Second SubSubworkitem

>>>First SubSubSubworkitem

>>>Second SubSubSubworkitem

I want to use Load on Demand with Ajax. From the documentation I can see how I can implement this. Ok.

Now I want to load on demand also the father and the siblings.

So I want to have something to click “Up” by which on demand the following tree is loaded:

>>First SubSubworkitem

>>Second SubSubworkitem

>>>First SubSubSubworkitem

>>>Second SubSubSubworkitem

Again clicking “Up” the following tree is loaded:

>First Subworkitem

>Second Subworkitem

>>First SubSubworkitem

>>Second SubSubworkitem

>>>First SubSubSubworkitem

>>>Second SubSubSubworkitem

Is this possible somehow? The reason is, that I have so many workitems (3000) and many levels ( up to 10 levels) that I would not want to load the whole hierarchy to the node in question and all siblings on all levels up the hierarchy (which I would have to do if I would follow your examples).

Tags
TreeView
Asked by
Frank Michael
Top achievements
Rank 1
Share this question
or