3 Answers, 1 is accepted
Hi Alex,
Can you elaborate a bit on the exact scenario that you want to achieve? It will be really helpful if you prepare and send us a small sample demonstrating the behavior that you want to avoid, so we can suggest you further on how to do it (if possible).
Regards,
Vessy
Progress Telerik

Hi Vessy
There is a drop down tree which is attached to a sql data source.
Please can you look at this link to see what I am trying to achieve :
https://docs.microsoft.com/en-us/analysis-services/multidimensional-models/user-defined-hierarchies-ragged-hierarchies
Alex
Hi Alex,
RadDropDownTree does not have a built in logic to determine whether the child items values equals the ones of their parent, the control is visualizing the hierarchical data passed to it. Details on this matter can be read and tested here:
- Documentation: https://docs.telerik.com/devtools/aspnet-ajax/controls/treeview/data-binding/binding-to-hierarchical-data
- Live demo: https://demos.telerik.com/aspnet-ajax/treeview/examples/programming/databinding/defaultcs.aspx
As a possible option, you can compare manually the values of the child and parent items and hide the child item if they match. If you decide to go in this direction, you can do this check in the NodeDataBound event of the underlying TreeView of the control:
If this is not the scenario you want to achieve through, pleases end us a sample data where we can examine the exact structure you want to bind to RadDropDownTree so we can examine it at our end.
Regards,
Vessy
Progress Telerik