IE treeview control viewstate -> sessionstate

R

rickpayne

I've noticed the IE treeview asp.net web control has a heavey viewstate. I
have been trying to use session variables to store its state instead of
storing it in viewstate. Has anyone successful used session state to store
state info?
 
A

Alvin Bruney

Yes but that doesn't fix the problem either. The issue (i understand it has
been resolved in 2.0) is that with each post back the tree control maintains
the state of the current and previous state. With every postback, the size
of the viewstate builds and causes the tree performance to decline. Use the
treeview for a small number of nodes and when excessive postbacks can be
minimized.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,233
Latest member
AlyssaCrai

Latest Threads

Top