title: Highcharts not working in UpdatePanel of asp.net
body: <p>I drawn a highchart in asp.net. I was working properly but when I puts my SUBMIT button in updatepanel then highchart is not working.It is not redrawing.
  Page is not reloaded so it is not redrawing.</p>
  
  <p>aspx code-</p>
  
  <pre><code>  &lt;asp:UpdatePanel runat="server" ID="update1"&gt;
              &lt;ContentTemplate&gt;
          &lt;asp:Button ID="button_borrowing_calculate" CssClass="SDButtonGrad" runat="server" Text="Calculate&gt;&gt;" Height="30px" Width="90px" OnClientClick="emptycheck();" OnClick="btn_bp_calculate_Click" /&gt;&lt;/ContentTemplate&gt;
            &lt;/ContentTemplate&gt;
          &lt;/asp:UpdatePanel&gt;
  
  
      &lt;asp:UpdatePanel runat="server" ID="updatep"&gt;
              &lt;ContentTemplate&gt;
                            &lt;div id="rp_graph1" style="height: auto; width: 100%;" runat="server"&gt;
                                                  &lt;highchart:LineChart runat="server" Height="300px" Width="99%" ID="hcLine" /&gt;
                                              &lt;/div&gt;
            &lt;/ContentTemplate&gt;
          &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p>aspx.cs code -</p>
  
  <pre><code>   protected void btn_bp_calculate_Click(object sender, EventArgs e)
  {
  
  
      hcLine.Title.text = "Borrowing Capacity";
      hcLine.YAxis.Add(new YAxisItem { title = new Title("Amount") });
      hcLine.XAxis.Add(new XAxisItem
      {
          categories = new[] { "0","1", "2","3", "4","5", "6","7", "8","9", "10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30",
                                                              "31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50"
                                                          }
      });
  
      var series = new List&lt;Serie&gt;();
      series.Add(new Serie { data = new object[] { 400, 435, 446, 479, 554, 634, 687, 750, 831 } });
      //bind 
      hcLine.DataSource = series;
      hcLine.DataBind();
  
  
  
  
  }
  </code></pre>