none
I have chart controls in my child page that should refresh automatically, for this i added update panel with Asynchronous post back trigger with event tick. But it is not working.

    Question

  • Here is my code:

    <asp:Content ID="Content2" ContentPlaceHolderID="MainPlaceHolder" runat="Server">
      <asp:Timer ID="TimerCharts" runat="server" Interval="10000" 
      OnTick="TimerCharts_Tick">
     </asp:Timer>
     <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
      <Triggers>
       <asp:AsyncPostBackTrigger ControlID="TimerCharts" EventName="Tick" />
       </Triggers>
       <ContentTemplate>
        <table width="950" runat="server" id="mnTable" cellpadding="0" cellspacing="0" 
        bgcolor="#f3f5f6">
         <tr>
          <td valign="top">
    <asp:Chart ID="chart1" runat="server" Width="210" Height="220" EnableViewState="true"
      OnClick="Chart_Clicked" BackColor="#f3f5f6">
       <Series>
       <asp:Series Name="series1" IsVisibleInLegend="true" ChartType="Pie" 
       IsXValueIndexed="true"
       ToolTip="#VALX(#VALY)">
          </asp:Series>
            </Series>
            <ChartAreas>
           <asp:ChartArea Name="ChartArea1" BackColor="#f3f5f6">
            </asp:ChartArea>
            </ChartAreas>
          </asp:Chart>
            </td>
          </tr>
          </table>
       </ContentTemplate>

    Monday, December 23, 2013 5:53 AM

All replies