|
Rank: Advanced Member Groups: Member
Joined: 8/11/2008 Posts: 37
|
Hello, I have a TreeView and I set PopulateOnDemand=true because there are many Nodes. RaisesServerEvent is true. If I expand a node clicking on the plus-sign and than click on a node for selecting, the whole TreeView collapses and I have to start again. If I expand the nodes clicking on every node it runs but on every click the whole Treeview disappears for some seconds. If there are more than 50 nodes it tooks a long time. Is there a possibility to make this better? I use version 6.0.65.2
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The TreeView should keep its expand/collapse states unless you have code that changes it. So please check your code first. If you believe it's a product problem, please create a test page that demonstrates the problem with detailed step by step instruction to reproduce the problem. We will be happy to look into it once we have that.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 8/11/2008 Posts: 37
|
Hello, I think the code is correct. Please take a look at http://www.eca-software.de/Preview/Immo_ans.aspx. Here you can see this effect. We sent the code to your mail addresss. Uwe
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Please check if you have ViewState enabled. TreeView needs ViewState to correctly maintain expand/collapse state information. So you will run into all kind of strange problems if you turn off ViewState.
We did receive your test code. Your code looks fine to us, however we are not able to run it to either reproduce the problem or verify the solution.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 8/11/2008 Posts: 37
|
Hello, we did not manipulate on ViewState so it should be on. Did you take a look at the link? Here you can see my problem.
Uwe
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We need a test page that we can run here in order to look further.
Thanks
|
|