Redirecting to new window in ASP 3.0

Hi,

Any one can very easily redirect the page in new windows with the help of java script.
Following are syntax for redirecting to a new page.


<%if request("submit")<>"" then
%>

<script language="javascript">

window.open('http://localhost/content/login.asp?mstMsg=logged"%>','login');

</script>



<%
end if %>

Comments

Popular posts from this blog

How to create Rest API(Web API) with ASP.NET Core 1.0

Creating PDF with ASP.Net MVC and RazorPDF

Solution: gulp is not recognized as internal or external command- Visual Studio