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

Node Visibility in Scrolling Treeview

1 Answer 43 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 23 Sep 2013, 01:40 PM
In a treeview with a vertical scrollbar, is there a way to tell if a specific node is within the visible area of the treeview?  I am highlighting multiple nodes in a treeview based on whether or not the node text matches a search string entered by the user.  If one or more of the highlighted nodes requires scrolling to bring it into view, I want to display a button that will allow the user to scroll the next match into view, but if all of the matches are within the viewable area, I do not want to display the button. 

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 26 Sep 2013, 12:28 PM
Hello Scott,

Currently we are not aware of a suitable approach that would meet the requirements for the scenario that you are trying to implement. However, I can suggest that you refer to the following Code Library and check out the implemented functionality - TreeView Filtering. We would also appreciate it very much if you come up with a suitable solution and share it with us.

Regards,
Kate
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
TreeView
Asked by
Scott
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or