title: textbox from popup modal always return empty
body: <p>i need explanation about my problem... "textbox from popup modal always return empty" when i clicked the save button from popup modal.. i need to get the value of the txtCityName.Text and the txtCityDescription.Text;</p>
  
  <pre><code>here's my code... 
  ======================
  THE HTML
  =======================
  &lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="modal.aspx.cs" Inherits="sample.modal" %&gt;
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
          &lt;div id="DivModifyCity" runat="server" class="modal" style="overflow: hidden; margin-top: 50px; display: none"&gt;
              &lt;div class="modal-header"&gt;
                  &lt;div style="display: inline-block;" class="pull-right "&gt;
                      &lt;asp:LinkButton ID="lnkCloseCity" runat="server" CssClass="icon-remove" ToolTip="Close" data-dismiss="modal" aria-hidden="true" type="button" value="Close" Height="20px"&gt;&lt;/asp:LinkButton&gt;
                  &lt;/div&gt;
                  &lt;h3&gt;
                      &lt;asp:Label ID="lblCityStatus" runat="server" Text="Add City"&gt;&lt;/asp:Label&gt;&lt;/h3&gt;
              &lt;/div&gt;
              &lt;div class="modal-body"&gt;
                  &lt;table cellpadding="0" cellspacing="0" style="width: 100%"&gt;
                      &lt;tr&gt;
                          &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                          &lt;td class="input-medium" style="width: 140px"&gt;&amp;nbsp;&lt;/td&gt;
                          &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                          &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                          &lt;td class="input-medium" style="width: 140px"&gt;
                              &lt;asp:Label ID="Label8" runat="server" Text="City Name" Font-Size="12pt"&gt;&lt;/asp:Label&gt;&lt;/td&gt;
                          &lt;td&gt;
                              &lt;asp:TextBox ID="txtCityName" type="text" placeholder="City Name" runat="server" MaxLength="150"&gt;&lt;/asp:TextBox&gt;&lt;/td&gt;
                          &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                          &lt;td class="input-medium" style="width: 140px"&gt;&amp;nbsp;&lt;/td&gt;
                          &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                          &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                          &lt;td class="input-medium" style="width: 140px"&gt;
                              &lt;asp:Label ID="Label9" runat="server" Text="City Description" Font-Size="12pt"&gt;&lt;/asp:Label&gt;&lt;/td&gt;
                          &lt;td&gt;
                              &lt;asp:TextBox ID="txtCityDescription" type="text" runat="server" placeholder="Description" Height="50px" TextMode="MultiLine"&gt;&lt;/asp:TextBox&gt;&lt;/td&gt;
                          &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
  
              &lt;/div&gt;
              &lt;div class="modal-footer"&gt;
                  &lt;asp:LinkButton ID="lnkSaveCity" runat="server" Font-Underline="false" Font-Bold="true" Text="Save" CssClass="btn btn-primary" Height="20px" ToolTip="Add new city" OnClick="btnSaveCity_Click"&gt;&lt;/asp:LinkButton&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  
          &lt;a data-toggle="modal" href="#DivModifyCity" class="btn btn-primary btn-lg"&gt;Launch demo modal&lt;/a&gt;
      &lt;/form&gt;
  
      &lt;%--    modal popup--%&gt;
      &lt;link href="bootstrap/css/bootstrap.css" rel="stylesheet" /&gt;
       &lt;script src="http://code.jquery.com/jquery-1.9.1.min.js"&gt;&lt;/script&gt;
      &lt;link href="../Scripts/css/bootstrap.css" rel="stylesheet" /&gt;
      &lt;script src="../Scripts/js/bootstrap-modal.js"&gt;&lt;/script&gt;
  
      &lt;%-- end here--%&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  
  =========================
  server side code:
  =========================
   protected void btnSaveCity_Click(object sender, EventArgs e)
          {
              string try1 = txtCityName.Text;
              string try2 = txtCityDescription.Text;
          }
  </code></pre>