adding treeview on Panel control
-
Hi! actually i added my tree view on scroll and i want that when nodes of tree are expanded and tree view's size becomes greater than panel's size then automatically scroll bars should be applied on it. I have done it by writing "overflow:scroll" in style property of panel.Now when size exceeds auto scroll bars become visible and work goes fine but one problem is that two vertical scroll bars are visible i think one of panel and other of tree view but i have not set scroll bar on tree view and second problem is that when i click plus sign of tree view placed in panel it is expanded and act normally uptil no scroll bars are applied but as soon as scroll is aplied and whenever i move scroll down and then i click on plus,node is not expanded.Hope u understand what i mean to say, i mean uptil my panel is in default position my tree placed on it is working fine but when scrolls are applied and i move my scroll down and then after clicking on tree node it doesnot act normally,may be it is refreshed again and something else i cant understand. and i m making application in C# asp.net web application. Thanx