Quantcast
Viewing all articles
Browse latest Browse all 2935

How to control the scroll property of a tree view control

Hi,

 

I have a tree view control created using a table data source. Particular item in tree view has three levels for the root item and there are number of root items will be available in the tree view. I am facing an issue each time I refresh the tree view. Scenario is like, I have expanded many items in the tree view level and I am moving the vertical scroll bar and keep it somewhere in the middle and then I select an item in the tree view. Now I have a button that will refresh the entire tree view (It will re create the tree view again with any available new item from the table data source). Once the tree view items have re created the vertical scroll bar position moves (up or down) from the position where it was before the refresh button is clicked. Is there any way with that I can keep the vertical scroll bar to the same position as it was before refresh?

 

Thanks,

Anoop


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>