treeview loses checked values when click event is occured
<p>I have asp.net Treeview which is out side update panel of asp.net page,when i click on btnGet (which is also exists outside the update panel) it loses the checked value of treeview control. but it persist the values of other controls which are placed in update panel.</p>

<p>to handle the control outside the updatepanel, I have used javascript.(functionality like enable or disable &amp; validation &amp; its text)   </p>

<p>How to persist treeview's checked values?</p>

<p>any help would be greatful!</p>

<pre><code>&lt;asp:Panel ID="treePanel" runat="server"&gt;
&lt;table cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;&lt;td&gt;
     &lt;asp:TreeView ID="treeViewS" runat="server" ShowCheckBoxes="All" ShowLines="True" &gt;
     &lt;/asp:TreeView&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;/asp:Panel&gt;
&lt;table width="980" cellpadding="0" cellspacing="0" align="center"&gt;
&lt;tr&gt;&lt;td&gt;
   &lt;asp:Button ID="btnGet" runat="server" Text="Get" ValidationGroup="GetValidationGrp"
                                                OnClick="btnGet_Click" OnClientClick="if (startGet()) return false;" /&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;table&gt;
</code></pre>
