Is there anyway to use the DropDownTree without it having to make so many requests.
It looks like it is essentially building the tree one request at a time for each item inside it. This is ridiculously inefficient.
Why can't it be passed a single data structure in a request to build itself, after all a dropdownlist, combobox even a grid can be built with a single request for the IList<data> to databind.
There is little to no documentation on the DropDownTree control which is disappointing.
For a Data structure like this, it makes 6 request which makes no sense.
- Item 1
- Item 1A (parent=1)
- Item 1B (parent=1)
- Item 2
- Item 2A (parent =2)
- Item 3
Could someone at telerik please provide an example of how to create such a data structure that can be passed to the DropDownTree in one request to allow it to render this. Currently this control is not very usable if it needs one request per item.
A treeview will load all it's data with a single request that returns an
var data = (IList<DataModels>)object .ToTreeDataSourceResult(request, e => e.ID, e => e.Parent_ID, e => e);
Does the DropDownTree not have something similar to a TreeDataSource? Why can't it use the same TreeDataSourceResult Object?