﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Viewstate</title><link>http://www.intersoftsolutions.com/Community/Tags/Viewstate/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>TreeView not keeping Viewstate</title><link>http://www.intersoftsolutions.com/Community/Tags/Viewstate/</link><pubDate>Fri, 28 Aug 2009 11:26:32 GMT</pubDate><dc:creator>matthiasmax</dc:creator><category>WebTreeView</category><category>LoadOnDemand</category><category>Viewstate</category><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;my TreeView is loosing its viewstate although I have set it to: &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;- ViewStateStorage="Session" &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;- ViewStateItems="BehaviorAndCollection" &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;- &amp;lt;ClientSideEvents OnNodeSelect="tvMainTree_OnNodeSelect" /&amp;gt;&lt;br /&gt;- &amp;lt;AutoPostBackSettings OnNodeSelectChanged="True" /&amp;gt; &lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;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.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;It's a LoadOnDemand Tree.  &lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Any ideas? &lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>