title: form submit button not working when view is using master layout
body: <p><a href="https://stackoverflow.com/questions/19257350/mvc-4-form-submit-button-not-working-when-view-is-using-master-layout">Following my previous question</a>, now things are not working again, here it goes:</p>
  
  <p>I have form in MVC 4, and the form button does not respond: </p>
  
  <p><strong>Controller (that should get the post action):</strong></p>
  
  <pre><code>public class GeneralController {
      [HttpPost]
      public ActionResult SearchResults(SearchParamsModel searchParams)
      {
          // doin some stuff here
          return View("SearchResultsView");
      }
  }
  </code></pre>
  
  <p><strong>View (.cshtml):</strong></p>
  
  <pre><code>@model MVC.Models.SearchParamsModel 
  
  @{
      ViewBag.Title = "SomeTitle";    
  }
  
  @Html.Partial("~/Views/SomePartials/ssi-header.cshtml");
  @Html.Partial("~/Views/SomePartials/ssi-sidebar-notifications.cshtml");
  
  &lt;!-- content --&gt;
  &lt;section class="content right"&gt;
      &lt;section class="some-search"&gt;
  
          &lt;div class="form-separator gradient"&gt;&lt;/div&gt;
  
          @using (Html.BeginForm("SearchResults", "Home", FormMethod.Post))        
          {                                   
                      &lt;section class="form-field"&gt;
                          &lt;input type="text" name="City" id="City" class="field field139 autocomplete-init-no-img" /&gt;
                          &lt;label for="City"&gt;City&lt;/label&gt;
                      &lt;/section&gt;                              
  
              &lt;input type="submit" value="Submit Search" class="submit btn blue-btn special-submit" /&gt;
  
          }
      &lt;/section&gt;
  &lt;/section&gt;
  &lt;!-- end content --&gt;
  @Html.Partial("~/Views/SomePartials/ssi-footer.cshtml");
  </code></pre>
  
  <p><strong>Model :</strong></p>
  
  <pre><code>public class SearchParamsModel 
  {
      public string City{ get; set; }
  }
  </code></pre>
  
  <p>Things are only working if I add in View : <code>Layout = null</code>  (!!!Wierd)</p>
  
  <p>My Layout</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8" /&gt;
          &lt;title&gt;@ViewBag.Title - My ASP.NET MVC Application&lt;/title&gt;
          &lt;link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" /&gt;
          &lt;meta name="viewport" content="width=device-width" /&gt;
          @Styles.Render("~/Content/SomeStyles")
          @*@Scripts.Render("~/bundles/SomeScripts")*@
  
          &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;/script&gt;
          &lt;script src="../../Scripts/script1.js" type="text/javascript"&gt;&lt;/script&gt;
          &lt;script src="../../Scripts/script2.js"&gt;&lt;/script&gt;
          ....
  
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div id="body"&gt;
              @RenderSection("featured", required: false)
              &lt;section class="content-wrapper main-content clear-fix"&gt;
                  @RenderBody()
              &lt;/section&gt;
          &lt;/div&gt;
          @*@RenderSection("scripts", required: false)*@
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>