RadtreeView ScrollIntoView

AratiS

I have a RadTreeView inside a RadPane, I am setting the radtreeview height and width to that of radpane on radsplitters OnClientLoad and OnClientResized events (see code below). I have a search functionality to search a root node on the page and want to use the ScrollIntoView method of Radtreeview to scroll to the searched node but I am unable to see the scrollbar when I set the radtreeview height this way, Please let me know how can i use ScrollIntoView in this scenario.

Boyan Dimitrov

Indeed it matters that you are using load on demand, since such functionality will work on the client-side and will search for a specific node through the already loaded nodes. Please find attached a sample project that implements very similar scenario based on your markup code - when you click on the button below the RadSplitter control the RadTreeView will scroll to the node with text "Node22" for testing purposes.

Kind regards,
Boyan Dimitrov
the Telerik team

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 their blog feed now.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.