Tuesday, November 1, 2016

Redirect To Classic ASP Page from a JavaScript Function in ASP.NET MVC Razor View


<script>

    function BackToReturnView()
    {
      @{
            String returnURL = "/mypage.asp";    
            <text>location.replace("@returnURL");</text>                        
       }
    }

</script>

No comments:
Write comments
Recommended Posts × +