Hi Team,
We are facing problems in below scenarios, Request help on the same.
We have data based parent and their child nodes and it is binding properly however, we wanted to implement functionality like we need to display only parent node for their selected nodes. (currently, it is displaying all nodes including parents and their childs.)
Request help on the asap asap.
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.
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?