title: The modal popup is not showing up
body: <p><a href="https://i.stack.imgur.com/gBfzT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gBfzT.png" alt="enter image description here"></a>Am working on my final year project i need to have grid-view with model popup but whenever i click add button is not working. can anybody help me, i tried so many times and nothing is working stuck for 5 hrs.below is my html and back end code.Thanks. Nothing shows up when i click the button.</p>
  
  <p>i really appreciate your help.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
    
       &lt;!----Required Head met tags ----&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1" /&gt;
      &lt;!----The Title ----&gt;
      &lt;link rel="shortcut icon" href="img/favicon.ico" /&gt; 
      
       &lt;script src="http://code.jquery.com/jquery-1.10.2.js"&gt;&lt;/script&gt;  
      &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"/&gt;  
      &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css"/&gt;  
  
  
          &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"&gt;&lt;/script&gt;  
  
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
  
  
          &lt;div style="width: 90%; margin-right: 5%; margin-left: 5%; text-align: center"&gt;
              &lt;asp:ScriptManager runat="server" ID="ScriptManager1" /&gt;
              &lt;h3 style="text-align: center;"&gt;Manage Users &lt;/h3&gt;
              
              &lt;!-- Placing GridView in UpdatePanel--&gt;
              &lt;asp:UpdatePanel ID="upCrudGrid" runat="server"&gt;
                  &lt;ContentTemplate&gt;
                      &lt;asp:GridView ID="GridView1" runat="server" Width="940px" HorizontalAlign="Center"
                          OnRowCommand="GridView1_RowCommand" AutoGenerateColumns="false" AllowPaging="true"
                          DataKeyNames="Id" CssClass="table table-hover table-striped"&gt;
                          &lt;Columns&gt;
                              &lt;asp:ButtonField CommandName="detail" ControlStyle-CssClass="btn btn-info"
                                  ButtonType="Button" Text="Detail" HeaderText="Detailed View"&gt;
                                  &lt;ControlStyle CssClass="btn btn-info"&gt;&lt;/ControlStyle&gt;
                              &lt;/asp:ButtonField&gt;
                              &lt;asp:ButtonField CommandName="editRecord" ControlStyle-CssClass="btn btn-info"
                                  ButtonType="Button" Text="Edit" HeaderText="Edit Record"&gt;
                                  &lt;ControlStyle CssClass="btn btn-info"&gt;&lt;/ControlStyle&gt;
                              &lt;/asp:ButtonField&gt;
                              &lt;asp:ButtonField CommandName="deleteRecord" ControlStyle-CssClass="btn btn-info"
                                  ButtonType="Button" Text="Delete" HeaderText="Delete Record"&gt;
                                  &lt;ControlStyle CssClass="btn btn-info"&gt;&lt;/ControlStyle&gt;
                              &lt;/asp:ButtonField&gt;
                              &lt;asp:BoundField DataField="Username" HeaderText="Username" /&gt;
                              &lt;asp:BoundField DataField="Password" HeaderText="Password" /&gt;
                              &lt;asp:BoundField DataField="Email" HeaderText="Email" /&gt;
                              &lt;asp:BoundField DataField="Address" HeaderText="Address" /&gt;
                              &lt;asp:BoundField DataField="UserType" HeaderText="UserType" /&gt;
                              
                          &lt;/Columns&gt;
                      &lt;/asp:GridView&gt;
                      &lt;asp:Button ID="btnAdd" runat="server" Text="Add New Record" CssClass="btn btn-info" OnClick="btnAdd_Click" /&gt;
                  &lt;/ContentTemplate&gt;
                  &lt;Triggers&gt;
                  &lt;/Triggers&gt;
              &lt;/asp:UpdatePanel&gt;
             
              &lt;div id="editModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="editModalLabel" aria-hidden="true"&gt;
                  &lt;div class="modal-header"&gt;
                      &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&lt;/button&gt;
                      &lt;h3 id="editModalLabel"&gt;Edit Record&lt;/h3&gt;
                  &lt;/div&gt;
                  &lt;asp:UpdatePanel ID="upEdit" runat="server"&gt;
                      &lt;ContentTemplate&gt;
                          &lt;div class="modal-body"&gt;
                              &lt;table class="table"&gt;
                                  &lt;tr&gt;
                                      &lt;td&gt;Username : 
                              &lt;asp:Label ID="tbUsername" runat="server"&gt;&lt;/asp:Label&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr&gt;
                                      &lt;td&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Password : 
                              &lt;asp:TextBox ID="tbPassword" runat="server" Width="193px"&gt;&lt;/asp:TextBox&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr&gt;
                                      &lt;td&gt;Email:
                              &lt;asp:TextBox ID="tbEmail" runat="server" style="margin-left: 1px" Width="131px"&gt;&lt;/asp:TextBox&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr&gt;
                                      &lt;td&gt;Address:
                              &lt;asp:TextBox ID="tbAddress" runat="server" Width="148px"&gt;&lt;/asp:TextBox&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr&gt;
                                      &lt;td&gt;UserType:
                              &lt;asp:TextBox ID="tbUserType" runat="server" Width="150px"&gt;&lt;/asp:TextBox&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                              &lt;/table&gt;
                          &lt;/div&gt;
                          &lt;div class="modal-footer"&gt;
                              &lt;asp:Label ID="lblResult" Visible="false" runat="server"&gt;&lt;/asp:Label&gt;
                              &lt;asp:Button ID="btnSave" runat="server" Text="Update" CssClass="btn btn-info" OnClick="btnSave_Click" /&gt;
                              &lt;button class="btn btn-info" data-dismiss="modal" aria-hidden="true"&gt;Close&lt;/button&gt;
                          &lt;/div&gt;
                      &lt;/ContentTemplate&gt;
                      &lt;Triggers&gt;
                          &lt;asp:AsyncPostBackTrigger ControlID="GridView1" EventName="RowCommand" /&gt;
                          &lt;asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" /&gt;
                      &lt;/Triggers&gt;
                  &lt;/asp:UpdatePanel&gt;
              &lt;/div&gt;
            
           
          &lt;/div&gt;
  
  
          &lt;footer&gt;
              &lt;div class="container"&gt;
                  &lt;p class="pull-right"&gt;&lt;a href="#"&gt;Back to top&lt;/a&gt;&lt;/p&gt;
                  &lt;p&gt;&amp;copy; 2018 E-Bus ticketing system &amp;middot; &lt;a href="Default.aspx"&gt;Home&lt;/a&gt; &amp;middot; &lt;a href="#"&gt;Update Schedule&lt;/a&gt; &amp;middot; &lt;a href="#"&gt;Manage Users&lt;/a&gt; &amp;middot; &lt;a href="#"&gt;Upload Tickets&lt;/a&gt;&lt;/p&gt;
              &lt;/div&gt;
          &lt;/footer&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>