close Bootstrap Modal after click button inside model
<p>in my asp page i have the following:</p>

<pre><code> &lt;ContentTemplate&gt; &lt;div class="modal fade" id="myModal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
&lt;div class="modal-dialog"&gt;
     &lt;asp:UpdatePanel ID="upModal" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional"&gt;
        &lt;ContentTemplate&gt;
            &lt;div class="modal-content"&gt;
                 &lt;div class="modal-header"&gt;
                     &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&amp;times;&lt;/button&gt;
                     &lt;h4 class="modal-title"&gt;&lt;asp:Label ID="lblModalTitle" runat="server" Text=""&gt;&lt;/asp:Label&gt;&lt;/h4&gt;
                 &lt;/div&gt;
                 &lt;div class="modal-body"&gt;
                     &lt;asp:Label ID="lblModalBody" runat="server" Text=""&gt;&lt;/asp:Label&gt;
                 &lt;/div&gt;
                 &lt;div class="modal-footer"&gt;
                   &lt;asp:Button runat="server" ID="btnSavedata" CssClass="btn btn-info"&gt; Text="Save"/&gt;

                    &lt;button class="btn btn-info" data-dismiss="modal" aria-hidden="true"&gt;Close&lt;/button&gt;
                 &lt;/div&gt;
             &lt;/div&gt;
         &lt;/ContentTemplate&gt;
   &lt;/asp:UpdatePanel&gt;
 &lt;/div&gt; &lt;/div&gt;
</code></pre>

<p>also i have another link to show Modal from code behind </p>

<pre><code>Protected Sub btn_DeleteQuote_ServerClick(sender As Object, e As EventArgs) Handles btn_PrintQuote.ServerClick

lblModalTitle.Text = "Validation Errors List for HP7 Citation"
lblModalBody.Text = "This is modal body"
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "myModal", "$('#myModal').modal({backdrop:'static', keyboard: false});", True)
upModal.Update()
</code></pre>

<p>End Sub</p>

<p>Now i want when i click on button btnSavedata (this butoon inside modal) i want to update some content inside my page (this content outside modal) then close the modal
i want this using code behind on btnSavedata_click event</p>