title: Why does nothing happen when I press submit on my ASP.NET registration form?
body: <p>I have a registration form that is connected to a database table that uses RequiredFieldValidators, RegularExpressionValidators, and PasswordStrength. When I press submit, nothing happens. Any clue why this is happening? Please can you help. Thank you.</p>
  <pre><code>        &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
      &lt;asp:ToolkitScriptManager ID=&quot;ToolkitScriptManager1&quot; runat=&quot;server&quot;&gt;&lt;/asp:ToolkitScriptManager&gt;
      &lt;div style=&quot;margin-left:30%;margin-top:40px;&quot;&gt;
      &lt;asp:RoundedCornersExtender ID=&quot;RoundedCornersExtender1&quot; runat=&quot;server&quot; TargetControlID=&quot;MainPanel&quot; BorderColor=&quot;blue&quot; Radius=&quot;6&quot; Corners=&quot;All&quot;&gt;&lt;/asp:RoundedCornersExtender&gt;
      &lt;asp:Panel ID=&quot;MainPanel&quot; BackColor=&quot;Transparent&quot; runat=&quot;server&quot; BorderWidth=&quot;5&quot; BorderStyle=&quot;Solid&quot; BorderColor=&quot;blue&quot; Width=&quot;525&quot; Height=&quot;475&quot;&gt;
          &lt;div style=&quot;margin-left:10px;margin-top:10px&quot;&gt;
          &lt;h2 style=&quot;color:Blue;text-align:center&quot;&gt;Registration&lt;/h2&gt;
          &lt;table width=&quot;500&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
            &lt;tr&gt;
              &lt;td width=&quot;150&quot;&gt;&lt;asp:Label ID=&quot;lblFirstname&quot; runat=&quot;server&quot; Font-Names=&quot;Tahoma&quot; Text=&quot;First name:&quot;&gt;&lt;/asp:Label&gt;&lt;/td&gt;
              &lt;td width=&quot;350&quot;&gt;&lt;asp:TextBox ID=&quot;txtFirstname&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;
              &lt;asp:RequiredFieldValidator ID=&quot;rfvFirstname&quot; runat=&quot;server&quot; ControlToValidate=&quot;txtFirstname&quot; ErrorMessage=&quot;First name is required.&quot; ToolTip=&quot;First name is required.&quot;&gt;&lt;/asp:RequiredFieldValidator&gt;
              &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td width=&quot;150&quot;&gt;&lt;asp:Label ID=&quot;lblMiddlename&quot; runat=&quot;server&quot; Font-Names=&quot;Tahoma&quot; Text=&quot;Middle name:&quot;&gt;&lt;/asp:Label&gt;&lt;/td&gt;
              &lt;td width=&quot;350&quot;&gt;&lt;asp:TextBox ID=&quot;txtMiddlename&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;
              &lt;asp:RequiredFieldValidator ID=&quot;rfvMiddlename&quot; runat=&quot;server&quot; ControlToValidate=&quot;txtMiddlename&quot; ErrorMessage=&quot;Middle name is required.&quot; ToolTip=&quot;Middle name is required.&quot;&gt;&lt;/asp:RequiredFieldValidator&gt;
              &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td width=&quot;150&quot;&gt;&lt;asp:Label ID=&quot;lblLastname&quot; runat=&quot;server&quot; Font-Names=&quot;Tahoma&quot; Text=&quot;Last name:&quot;&gt;&lt;/asp:Label&gt;&lt;/td&gt;
              &lt;td width=&quot;350&quot;&gt;&lt;asp:TextBox ID=&quot;txtLastname&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;
              &lt;asp:RequiredFieldValidator ID=&quot;rfvLastname&quot; runat=&quot;server&quot; ControlToValidate=&quot;txtLastname&quot; ErrorMessage=&quot;Last name is required.&quot; ToolTip=&quot;Last name is required.&quot;&gt;&lt;/asp:RequiredFieldValidator&gt;
              &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
            &lt;td width=&quot;150&quot;&gt;&lt;/td&gt;
            &lt;td width=&quot;350&quot; class=&quot;smtxt&quot;&gt;Tip: Make sure the names match the traveler's passport or driver's license to avoid travel delays.&lt;/td&gt;&lt;/tr&gt;
          &lt;/table&gt;        
          &lt;hr align=&quot;left&quot; width=&quot;500&quot; /&gt;
          &lt;table width=&quot;500&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
          &lt;tr&gt;
          &lt;td width=&quot;150&quot;&gt;&lt;asp:Label ID=&quot;lblUsername&quot; runat=&quot;server&quot; Font-Names=&quot;Tahoma&quot; Text=&quot;Username:&quot;&gt;&lt;/asp:Label&gt;&lt;/td&gt;
          &lt;td width=&quot;350&quot;&gt;&lt;asp:TextBox ID=&quot;txtUsername&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;
          &lt;asp:RequiredFieldValidator ID=&quot;rfvUsername&quot; runat=&quot;server&quot; ControlToValidate=&quot;txtUsername&quot; ErrorMessage=&quot;Username is required.&quot;&gt;&lt;/asp:RequiredFieldValidator&gt;
          &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
          &lt;td width=&quot;150&quot;&gt;&lt;asp:Label ID=&quot;lblEmailAddress&quot; runat=&quot;server&quot; Font-Names=&quot;Tahoma&quot; Text=&quot;Email address:&quot;&gt;&lt;/asp:Label&gt;&lt;/td&gt;
          &lt;td width=&quot;350&quot;&gt;&lt;asp:TextBox ID=&quot;txtEmailAddr&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;
          &lt;asp:RegularExpressionValidator ID=&quot;RegularExpressionValidator1&quot; runat=&quot;server&quot; Text=&quot;You must enter an email address&quot; ErrorMessage=&quot;You must enter an email address&quot; Display=&quot;None&quot; ControlToValidate=&quot;txtEmailAddr&quot; ValidationExpression=&quot;\w+([-+.']\w+)*@\w+([-.]\w+)*\.w+([-.]\w+)*&quot;&gt;&lt;/asp:RegularExpressionValidator&gt;
          &lt;/td&gt;
          &lt;/tr&gt;
          ...
  </code></pre>