TreeView not keeping Viewstate

5 replies. Last post: September 17, 2009 12:17 AM by Handy Surya
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
matthiasmaxMember

Hi,

 

my TreeView is loosing its viewstate although I have set it to:

- ViewStateStorage="Session"

- ViewStateItems="BehaviorAndCollection"

- <ClientSideEvents OnNodeSelect="tvMainTree_OnNodeSelect" />
- <AutoPostBackSettings OnNodeSelectChanged="True" />

 

The client side event only executes a small javascript function that sets a value of a hidden field. Postback is done correctly and the event on the server is also fired correctly. but then it looses its state. The Tree is inside an AJAX Panel but this doesn't get updated at this stage. After the postback some other AJAX Panels are updated but not this one.

 

It's a LoadOnDemand Tree. 

 

Any ideas?

 

Thank you.

All times are GMT -5. The time now is 7:24 AM.
Previous Next