title: Prevent reloading page after submiting a form asp.net
body: <p>so i got this div. In this div I have a textarea and its editable so i put it in a form to submit the changes and it works this far but i got something that bothers me a little:
  after submitting and saving the changes to the database it refreshes the page but i only want to save the changes and do nothing else. Now my Question is how do I prevent it from refreshing or redirecting and just save the changes?</p>
  
  <p>This is my Controller:</p>
  
  <pre><code>namespace ChangeLogManager___Mit_Vorlage.Controllers
  {
      public class BeschreibungController : Controller
      {
  
  
          public JsonResult getText(int xVersionID)
          {
              ProgrammInfo lInfo = new ProgrammInfo();
              var lBeschreibung = lInfo.getBeschreibung(xVersionID);
              return Json(lBeschreibung, JsonRequestBehavior.AllowGet);
          }
  
          public ActionResult SaveText(BeschreibungModel xData)
          {
               using (var ctx = new ChangeLog_DEVEntities())
               {
                   var lVersion = (from p in ctx.Version where p.ID == xData.ccVersionID select p).FirstOrDefault();
              // var lVersion = ctx.Version.Where(p =&gt; p.ID == xData.ccVersionID).FirstOrDefault();
              lVersion.Changelog = xData.ccBeschreibung;
              ctx.SaveChanges();
          }
  
  
          return RedirectToAction("Index", "Home");
      }
  
  }
  </code></pre>
  
  <p>I do know that the <code>RedirectToAction</code>does the refresh. Is there possibly a replacement for it that does... like nothing, just saving the changes made ?</p>
  
  <p>and this is my div (its a partial view in the index page where the form is located aswell):</p>
  
  <pre><code>@model Domain.src.Daten.BeschreibungModel
  
  
  
  &lt;link rel="stylesheet" type="text/css" href="~/Content/Site.css" /&gt;
  
  @Html.TextAreaFor(x =&gt; x.ccBeschreibung)
  @Html.HiddenFor(x =&gt; x.ccVersionID)
  </code></pre>
  
  <p>I hope someone can help me.<br>
  (sorry if there are any mistakes in my english)<br>
  Thanks in advance :)</p>