I need some help on a treeview control.
I have an application that uses iframes. In the left frame the treeview is loaded. The treeview is loaded from a SQL database and has over 8600 nodes that I need to add to the treeview. Because of the perfomance of the treeview with that many nodes I have elected to not load all of the nodes at once.
I load 26 folders, A - Z. When I click on one of the folders the nodes for that folder are loaded and the folder is expanded. When i click on one of the nodes then a page is loaded in the right side of the frame. That is what should happen.
I have set the property AutoPostBack=True in order to get the folder to expand and display the data associated with the folder. This works fine except when I try to expand a folder that I had to scroll to get to. In this case nothing happens.
When I click on one of the nodes to display the data related to that node another trip is made to the server and then nothing happens. If I click on the same node a second time then the page with the data is displayed. In order to display the data I MUST click twice in the selected node. Why????
I know that the Treeview control from Microsoft has a lot of problems but I have seen posts here talking about how to do what I am trying to do but I need details, which I have not seen.
Can anyone please, please help????
Thanks,
enak
I have an application that uses iframes. In the left frame the treeview is loaded. The treeview is loaded from a SQL database and has over 8600 nodes that I need to add to the treeview. Because of the perfomance of the treeview with that many nodes I have elected to not load all of the nodes at once.
I load 26 folders, A - Z. When I click on one of the folders the nodes for that folder are loaded and the folder is expanded. When i click on one of the nodes then a page is loaded in the right side of the frame. That is what should happen.
I have set the property AutoPostBack=True in order to get the folder to expand and display the data associated with the folder. This works fine except when I try to expand a folder that I had to scroll to get to. In this case nothing happens.
When I click on one of the nodes to display the data related to that node another trip is made to the server and then nothing happens. If I click on the same node a second time then the page with the data is displayed. In order to display the data I MUST click twice in the selected node. Why????
I know that the Treeview control from Microsoft has a lot of problems but I have seen posts here talking about how to do what I am trying to do but I need details, which I have not seen.
Can anyone please, please help????
Thanks,
enak