Here Mudassar Ahmed Khan has explained with an example, how to display Confirmation Box before Delete in ASP.Net MVC Razor.
The Delete Button in WebGrid Row will be assigned JavaScript Confirm function, so that when the Delete Button is clicked, a JavaScript Confirmation Box will be displayed in ASP.Net MVC Razor.
↧