Using ajax calendar extension to update server side chart range
<p>This may be a long shot, but I'm trying to use the client side ajax calendar to select a range of dates for the x-axis of my server side chart. I have both controls set up, I'm just not sure how to get them to communicate with each other or if it's even possible.</p>

<p>This is what I have so far:</p>

<pre><code>&lt;table&gt;
  &lt;tr&gt;
     &lt;td&gt;
      Start Date
     &lt;/td&gt;
     &lt;td&gt;
     &lt;asp:TextBox ID="StartDateTextBox" runat="server"&gt;&lt;/asp:TextBox&gt;
     &lt;ajaxToolkit:CalendarExtender ID="StartCal" runat="server" 
          TargetControlID="StartDateTextBox"&gt;
     &lt;/ajaxToolkit:CalendarExtender&gt;


     &lt;/td&gt;
     &lt;td&gt;
     End Date
     &lt;/td&gt;
     &lt;td&gt;
     &lt;asp:TextBox ID="EndDateTextBox" runat="server"&gt;&lt;/asp:TextBox&gt;
     &lt;ajaxToolkit:CalendarExtender ID="EndCal" runat="server"   TargetControlID="EndDateTextBox"&gt;
      &lt;/ajaxToolkit:CalendarExtender&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
     &lt;td colspan="4"&gt;
        &lt;asp:Chart ID="TrendChart" runat="server" Width="800px" Height="400px"&gt;
           &lt;Series&gt;
              &lt;asp:Series Name="Trend" ChartType="Line"&gt;
              &lt;/asp:Series&gt;
           &lt;/Series&gt;

           &lt;ChartAreas&gt;
              &lt;asp:ChartArea Name="ChartArea1" Area3DStyle-Enable3D="true"&gt;
              &lt;/asp:ChartArea&gt;
           &lt;/ChartAreas&gt;
        &lt;/asp:Chart&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td align="center" colspan="4"&gt;
            &lt;asp:Button ID="TrendChartButton" runat="server" Text="Export To CSV" 
                CommandArgument="TrendChart" onclick="OverviewChartButton_Click" /&gt;
        &lt;/td&gt;
    &lt;/tr&gt;

&lt;/table
</code></pre>
