Welcome Guest Search | Active Topics | Sign In | Register

Treeview collapse on ItemClick Options
UweD
Posted: Tuesday, March 10, 2009 11:52:43 AM
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
eo_support
Posted: Tuesday, March 10, 2009 12:07:15 PM
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!
UweD
Posted: Thursday, March 12, 2009 4:03:21 AM
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
eo_support
Posted: Thursday, March 12, 2009 3:53:14 PM
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!
UweD
Posted: Friday, March 13, 2009 3:21:40 AM
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
eo_support
Posted: Friday, March 13, 2009 8:19:52 AM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.