asp.net mvc 4 - MVC confirm box after controller clause -


controller

           if (1 > employee.2)             {                  return redirecttoaction("index", "home", new { aid = a.id);             } 

view

        <script type="text/javascript">          var = confirm("question");         </script> 

controller checks clause shows confirm box if true. how return controller without losing form data posted


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -