title: How to display data in Bootstrap Modal when link button click in ASP.NET
body: <p>How to display data in Bootstrap Modal when link button click in ASP.NET. In my code
  When i click on link button Modal is opening, but assign values are not displaying. Please tell me how to display modal with assigned values.
  Thanks.</p>
  
  <p>.aspx Code:</p>
  
  <pre><code>  &lt;asp:LinkButton ID="linkButton8" runat="server" data-toggle="modal" data-target="#myModal" OnClick="linkButton_Click"&gt;CIS Information&lt;/asp:LinkButton&gt;
  
        &lt;div class="modal" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" 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" aria-hidden="true"&gt;&amp;times;&lt;/button&gt;
                              &lt;h4 class="modal-title" id="myModalLabel" align="center"&gt;Candidate Information Sheet&lt;/h4&gt;
                          &lt;/div&gt;
                          &lt;div class="modal-body"&gt;
  
                              &lt;table class="table table-bordered" align="center"&gt;
                                  &lt;tr&gt;
                                      &lt;td&gt;Name&lt;/td&gt;
                                      &lt;td&gt;
                               &lt;asp:TextBox ID="txtName" runat="server"&gt;&lt;/asp:TextBox&gt;&lt;/td&gt;
                                      &lt;td&gt;Email&lt;/td&gt;
                                      &lt;td&gt;
                                          &lt;asp:TextBox ID="txtEnail" runat="server"&gt;&lt;/asp:TextBox&gt;&lt;/td&gt;
                                  &lt;/tr&gt;
                              &lt;/table&gt;
                          &lt;/div&gt;
                          &lt;div class="modal-footer"&gt;
                        &lt;button type="button" class="btn btn-primary"&gt;Save&lt;/button&gt;
                  &lt;button type="button" class="btn btn-primary" data-ismiss="modal"&gt;Close&lt;/button&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>C# Code:</p>
  
  <pre><code> protected void linkButton_Click(object sender, EventArgs e)
          {
              txtName.Text = "Name";
              txtEnail.Text = "Mail@gmail.com";
          }
  </code></pre>