title: updatepanel databind not refreshing data until about 10 seconds after data actually updated
body: <p>I'm working with a GridView inside an UpdatePanel. The after updating the data, clicking a refresh button tied to a DataBind() won't change anything on the page until at least 10 seconds after the data has been updated. Here is the relevant code:</p>
  
  <pre><code>&lt;form id="form1" runat="server"&gt;
      &lt;asp:ScriptManager ID="ScriptManager1" runat="server" /&gt;
      &lt;div class="container-fluid"&gt;
              &lt;asp:UpdatePanel runat="server" ID="UpdatePanel1" &gt;
  
              &lt;ContentTemplate&gt;
                  &lt;div class="row"&gt;
                  &lt;div class="col-xs-12"&gt;  
                          &lt;asp:Button ID="btnRefresh" runat="server" Text="Refresh"  CausesValidation="False" CssClass="btn btn-success" OnClick="btnRefresh_OnClick" /&gt; 
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class="row"&gt;
                      &lt;div class="col-xs-12"&gt;
                          &lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowSorting="True"
                              DataKeyNames="id" DataSourceID="sqldatasource" CssClass="table table-responsive table-hover"
                              OnRowDataBound="GridView1_OnRowDataBound"
                              OnRowCommand="GridView1_OnRowCommand"
                              &gt;
                              &lt;Columns&gt;
                                  &lt;asp:CommandField ShowSelectButton="True" SelectText="Open" /&gt;
                                  &lt;!-- columns --&gt;
                              &lt;/Columns&gt;
                          &lt;/asp:GridView&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/ContentTemplate&gt;
          &lt;/asp:UpdatePanel&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And the code behind:</p>
  
  <pre><code>    protected void btnRefresh_OnClick(object sender, EventArgs e)
      {
          GridView1.DataBind();
      }
  </code></pre>
  
  <p>I am using the same type of setup on another page without using the UpdateMode or Triggers and that has no problem data binding, but this will not.</p>