I have several views that submit to the same controller's ActionResult and would like the RedirectToAction statement to return to the one that called it:
return RedirectToAction([view that called it], new { ID = ID });
thx
I have several views that submit to the same controller's ActionResult and would like the RedirectToAction statement to return to the one that called it:
return RedirectToAction([view that called it], new { ID = ID });
thx
As an addition to the methods described here, as Robert Harvey suggests, I would recommend using AJAX calls to the controller. Thus you don't have to return to views at all.