Chart empty when using Updatepanel I have 3 parts in a webpage.<br/><br/>1. Search - clicking a button is supposed to trigger the update panel on 3 and render the chart.<br/>2. Hidden Grid - in an updatepanel1 refreshed on the chart click from 3.<br/>3. Chart - in an updatepanel2 <br/><br/>When I click search, the chart displays without flicker. When the chart is clicked, the grid in 2 gets refreshed but the chart is empty. <br/><br/>I tried setting the Viewstate on the chart to true. Any suggestions?© 2009 Microsoft Corporation. All rights reserved.Fri, 28 Aug 2009 18:21:51 Z4eaa4568-3944-46cb-8df7-cd0c91766810http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/4eaa4568-3944-46cb-8df7-cd0c91766810#4eaa4568-3944-46cb-8df7-cd0c91766810http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/4eaa4568-3944-46cb-8df7-cd0c91766810#4eaa4568-3944-46cb-8df7-cd0c91766810srajgopalhttp://social.msdn.microsoft.com/Profile/en-US/?user=srajgopalChart empty when using Updatepanel I have 3 parts in a webpage.<br/><br/>1. Search - clicking a button is supposed to trigger the update panel on 3 and render the chart.<br/>2. Hidden Grid - in an updatepanel1 refreshed on the chart click from 3.<br/>3. Chart - in an updatepanel2 <br/><br/>When I click search, the chart displays without flicker. When the chart is clicked, the grid in 2 gets refreshed but the chart is empty. <br/><br/>I tried setting the Viewstate on the chart to true. Any suggestions?Wed, 01 Jul 2009 16:11:35 Z2009-07-01T16:11:35Zhttp://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/4eaa4568-3944-46cb-8df7-cd0c91766810#34d8eafd-b922-41d8-a0f3-f4c9e39c768dhttp://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/4eaa4568-3944-46cb-8df7-cd0c91766810#34d8eafd-b922-41d8-a0f3-f4c9e39c768dDelianThttp://social.msdn.microsoft.com/Profile/en-US/?user=DelianTChart empty when using Updatepanel If chart click triggers updatepanel1, this should not happen - chart should not be updated. Please check &quot;Interactivity and AJX\AJAX\Chart as Trigger&quot; chart web sample. <div>Delian</div>Thu, 13 Aug 2009 22:21:43 Z2009-08-13T22:21:43Zhttp://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/4eaa4568-3944-46cb-8df7-cd0c91766810#a1577253-d6e6-4b95-8b0f-09bcbd9c1b73http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/4eaa4568-3944-46cb-8df7-cd0c91766810#a1577253-d6e6-4b95-8b0f-09bcbd9c1b73srajgopalhttp://social.msdn.microsoft.com/Profile/en-US/?user=srajgopalChart empty when using Updatepanel <p>I believe it looks as you mentioned but still not sure why it would render the chart empty when the second updatepanel is brought into the picture.<br/><br/> &lt;asp:Button ID=&quot;btnSearch&quot; runat=&quot;server&quot; Text=&quot;Search&quot; OnClick=&quot;btnSearch_Click&quot; /&gt;<br/><br/>&lt;asp:UpdatePanel ID=&quot;UpdatePanel1&quot; runat=&quot;server&quot; UpdateMode=&quot;Conditional&quot;&gt;<br/>&lt;ContentTemplate&gt;Gridview Here&lt;/ContentTemplate&gt;<br/>&lt;Triggers&gt;<br/>&lt;asp:AsyncPostBackTrigger ControlID=&quot;Chart1&quot; EventName=&quot;Click&quot; /&gt;<br/>&lt;/Triggers&gt;<br/>&lt;/asp:UpdatePanel&gt;</p> <p><br/>&lt;asp:UpdatePanel ID=&quot;UpdatePanel2&quot; runat=&quot;server&quot; &gt;<br/>&lt;ContentTemplate&gt;Chart Here&lt;/ContentTemplate&gt;<br/>&lt;Triggers&gt;<br/>&lt;asp:AsyncPostBackTrigger ControlID=&quot;btnSearch&quot; EventName=&quot;Click&quot; /&gt;<br/>&lt;/Triggers&gt;<br/>&lt;/asp:UpdatePanel&gt;</p>Mon, 17 Aug 2009 15:16:34 Z2009-08-17T15:16:34Zhttp://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/4eaa4568-3944-46cb-8df7-cd0c91766810#635b6967-5b65-4173-9f33-50bedd971bb4http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/4eaa4568-3944-46cb-8df7-cd0c91766810#635b6967-5b65-4173-9f33-50bedd971bb4srajgopalhttp://social.msdn.microsoft.com/Profile/en-US/?user=srajgopalChart empty when using Updatepanel <p>Things started working fine when I added the attribute <br/><br/>&lt;asp:Chart EnableViewState=&quot;true&quot;</p> <p>Previously, I was doing this in the code behind and must have missed something.</p>Mon, 17 Aug 2009 16:13:42 Z2009-08-17T16:13:42Z