What I need to do is to show a popup to add a new record to my database, im using bootstrap 3 and I love it because im not using a single line of jquery, and I have really n
I used JavaScript to control the page redirection and reloading.
Options which I used are:
Return a JavaScript function to refresh the host page instead of a RedirectToAction, when the controller action is successful.
return this.Content("< script >location.reload()< /script >");
Return a JavaScript function to redirect the client to the page.
How to redirect to another webpage in JavaScript/jQuery?
RedirectToAction which has the required JavaScript redirection or reloading logic within the view