title: Update an UpdatePanel after a button click event
body: <p>I would explain better my problem and I would make lots of edits in order to clarify:</p>
  
  <p>Markup</p>
  
  <pre><code>&lt;asp:ScriptManager runat="server" /&gt;
  
  &lt;div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"&gt;
      &lt;div class="modal-dialog"&gt;
          &lt;div class="modal-content"&gt;
              &lt;div class="modal-header"&gt;
                  &lt;button type="button" class="close" data-dismiss="modal"&gt;&amp;times;&lt;/button&gt;
                  &lt;h4 class="modal-title" &gt;
  
                  &lt;/h4&gt;
              &lt;/div&gt;
              &lt;div class="modal-body"&gt;
  
              &lt;/div&gt;
              &lt;div class="modal-footer"&gt;
                  &lt;asp:Button runat="server" Text="Chiudi" class="btn btn-danger" data-dismiss="modal" /&gt;
                  &lt;asp:Button runat="server" ID="btn_Save" Text="Salva" class="btn btn-success" ValidationGroup="valGroup2" /&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;asp:Button ID="Button1" runat="server" Text="Button" data-target="#myModal" class="btn btn-primary" data-toggle="modal"/&gt;
  
  
  
  &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false" &gt;
      &lt;ContentTemplate&gt;
          &lt;asp:GridView ID="grd_elenco" runat="server" CssClass="table table-bordered table-hover" data-toggle="modal"&gt;
  
          &lt;/asp:GridView&gt;
          &lt;asp:Label ID="Label1" runat="server" Text="Label"&gt;&lt;/asp:Label&gt;
      &lt;/ContentTemplate&gt;
      &lt;Triggers&gt;
  
      &lt;/Triggers&gt;
  &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p>VB.NET:</p>
  
  <pre><code>Private Sub btn_Save_Click(sender As Object, e As EventArgs) Handles btn_Save.Click
      Label1.Text = "test"
      UpdateSomeDataInGrid()
  
      UpdatePanel1.Update()
  End Sub
  </code></pre>
  
  <p>I would Update only the <code>UpdatePanel</code> with <code>btn_Save</code> with a partial postback instead of full postback. I need to Update the panel <strong>after</strong> <code>UpdateSomeDataInGrid()</code>, someone know how to do that? </p>
  
  <p>I've tried to add <code>UpdatePanel1.Update()</code>, but all page is postback.</p>