Here Mudassar Ahmed Khan has explained with an example, how to display a message before redirecting in ASP.Net MVC Razor.
When a Button is clicked, first an operation will be performed, then a message will be displayed using JavaScript Alert Message Box and finally the page will be redirected in ASP.Net MVC Razor.
↧