Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

mvc refresh page from controller

public ActionResult ActionMethodName(params)
{
    //whatever you want to do
    return RedirectToAction("ActionMethodName", "ControllerName");
}

//This redirects the user to the other page after your work is done and hence the page refreshes.
 
PREVIOUS NEXT
Tagged: #mvc #refresh #page #controller
ADD COMMENT
Topic
Name
5+5 =