title: MVC 4 button not working in partial view - confusion over use of Html.beginForm and where am posting
body: <p>I have a button in my partial view that is not working and I am not sure why. I have general questions for the layout of my view and partial view but mainly I want my button to work.</p>
  
  <p>This is my main cshtml markup:</p>
  
  <pre><code>@model IMecheAdmin.Models.InterviewManagement
  @{
      ViewBag.Title = "InterviewManagementPage";
  }
  
      &lt;div style="padding: 10px"&gt;
          &lt;h4&gt;
              Interview Management Page&lt;/h4&gt;
          &lt;table&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      @Html.Label("Select a membership type:")
                  &lt;/td&gt;
                  &lt;td&gt;
                      @Html.DropDownListFor(m =&gt; m.SelectedMembershipType,
  new SelectList(Model.InterviewTypes, "InterviewTypeID", "InterviewTypeName"), new { id = "lstMembershipType", onchange = "getGridValues();" })
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;/div&gt;
      &lt;script type="text/javascript"&gt;
          function getGridValues() {
              var interviewTypeID = $('#lstMembershipType').val();
              $.ajax({
                  url: '@Url.Action("getGridData", "InterviewManagement")',
                  data: { interviewTypeID: interviewTypeID },
                  type: 'POST',
                  success: function (data) {
                      $('#gridData').html(data);
                  }
              });
          }
      &lt;/script&gt;
      &lt;div id="gridData" style="padding: 10px"&gt;
          @{
  
      Html.RenderAction("getGridData");
          }
      &lt;/div&gt;
  </code></pre>
  
  <p>My RenderAction is used to render my partial view. It has it's own partial actionresult method called getGridData.</p>
  
  <pre><code>Html.RenderAction("getGridData");
  </code></pre>
  
  <p>At the moment my begin form block is in my partial view Partial_InterviewManageGrid.cshtml. Shown below:</p>
  
  <pre><code>@model IMecheAdmin.Models.InterviewManagement
  
  @using (Html.BeginForm("SubmittedInterviews", "InterviewManagement", FormMethod.Post))
  {
      if (Model.InterviewDates.Count &gt; 0)
      {
  
          for (int i = 0; i &lt; Model.InterviewSchedules.Count; i++)
          {
          @Html.Label("Date of interview:")
          @Html.Label(Model.InterviewDates[i].DateOfInterview.ToString())
          &lt;table&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      Site
                  &lt;/td&gt;
                  &lt;td&gt;
                      Location
                  &lt;/td&gt;
                  &lt;td&gt;
                      Chair
                  &lt;/td&gt;
                  &lt;td&gt;
                      Cofacilitator
                  &lt;/td&gt;
                  &lt;td&gt;
                      Facilitator
                  &lt;/td&gt;
                  &lt;td&gt;
                      Observer
                  &lt;/td&gt;
                  &lt;td&gt;
                      Preference
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      @foreach (var person in Model.InterviewDates[i].Interviewers)
                      {
                          @Html.RadioButtonFor(m =&gt; m.InterviewSchedules[i].Chair, Model.InterviewDates[i].Interviewers.Select(p =&gt; p.InterviewerName).ToList(), new { @style = "width:auto;background:none;border:none" })
                          @Html.Raw(person.InterviewerName)  
                          &lt;br /&gt;
                      }
                  &lt;/td&gt;
                  &lt;td&gt;
                      @foreach (var person in Model.InterviewDates[i].Interviewers)
                      {
                          @Html.RadioButtonFor(m =&gt; m.InterviewSchedules[i].Cofacilitator, Model.InterviewDates[i].Interviewers.Select(p =&gt; p.InterviewerName).ToList(), new { @style = "width:auto;background:none;border:none" })
                          @Html.Raw(person.InterviewerName)  
                          &lt;br /&gt;
                      }
                  &lt;/td&gt;
                  &lt;td&gt;
                      @foreach (var person in Model.InterviewDates[i].Interviewers)
                      {
                          @Html.RadioButtonFor(m =&gt; m.InterviewSchedules[i].Facilitator, Model.InterviewDates[i].Interviewers.Select(p =&gt; p.InterviewerName).ToList(), new { @style = "width:auto;background:none;border:none" })
                          @Html.Raw(person.InterviewerName)  
                          &lt;br /&gt;
                      }
                  &lt;/td&gt;
                  &lt;td&gt;
                      @foreach (var person in Model.InterviewDates[i].Interviewers)
                      {
                          @Html.RadioButtonFor(m =&gt; m.InterviewSchedules[i].Observer, Model.InterviewDates[i].Interviewers.Select(p =&gt; p.InterviewerName).ToList(), new { @style = "width:auto;background:none;border:none" })
                          @Html.Raw(person.InterviewerName)  
                          &lt;br /&gt;
                      }
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
          &lt;br /&gt;
          }
  
          if (Model.InterviewDates.Count &gt; 0)
          {
          &lt;input type="button" value="Confirm interview"/&gt;
  
          }
  
          &lt;hr /&gt;
      }
  }
  </code></pre>
  
  <p>I have an ActionResult method that is very basic right now, the breakpoint doesn't get hit for this and my browser doesn't show any GETs or POSTs.</p>
  
  <pre><code> [HttpPost]
          public ActionResult SubmittedInterviews(InterviewManagement InterviewManagement)
          {
              return View(InterviewManagement);
          }
  </code></pre>
  
  <ul>
  <li>Should my html.beginform be in the view or partial view?</li>
  <li>How do I make it go to this actionResult? There is no view called SubmittedInterviews right now. Just the method in my controller.</li>
  </ul>