title: Refresh Partial View after submitting a form in it's parent View
body: <p>I am new to using Partial Views so I am a little confused here.</p>
  
  <p>I am submitting a form in a View that triggers this ActionResult:</p>
  
  <pre><code>    [HttpPost]
      public ActionResult AddNote(string comment)
      {
              using (var entity = new Entities())
              {
                  var orderId = TempData["OrderId"].ToString();
                  var atp = User.Identity.Name;
                  entity.uspAddOrderNote(orderId, atp, comment);
              }
          return PartialView("WipOrders");
      }
  </code></pre>
  
  <p>I would only like to refresh the partial view <code>WipOrders</code> (which is within the View that's submitting the form) once the form is submitted, but it is either only letting me return the full view or, in the case of what is written above, returning the url <code>~/AddNote</code>.</p>
  
  <p>I was trying to change the form to ajax in the hopes that it would work, but I am having some trouble:</p>
  
  <pre><code>@using (Ajax.BeginForm("AddNote", "Home", FormMethod.Post, null))
  {
      &lt;!-- Modal --&gt;
      &lt;div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModal"&gt;
          &lt;div class="modal-dialog" role="document"&gt;
              &lt;div class="modal-content"&gt;
                  &lt;div class="modal-header"&gt;
                      &lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"&gt;&lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;&lt;/button&gt;
                      &lt;h4 class="modal-title" id="myModalLabel"&gt;Add A Note&lt;/h4&gt;
                  &lt;/div&gt;
                  &lt;div class="modal-body"&gt;
                      &lt;textarea class="form-control" rows="5" id="comment" name="comment"&gt;&lt;/textarea&gt;
                      &lt;input type="hidden" class="form-control" id="orderId" name="orderId"/&gt;
                  &lt;/div&gt;
                  &lt;div class="modal-footer"&gt;
                      &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
                      &lt;button type="submit" class="btn btn-primary"&gt;Save changes&lt;/button&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  }
  </code></pre>
  
  <p>Is it possible to only refresh the Partial View once this is submitted?
  Any help would be appreciated. Thanks</p>