Solved

Open asp page from aspx page

Posted on 2006-10-20
1
1,245 Views
Last Modified: 2008-02-01
hi all,

I have to open ASP pages from ASP.NET. I used below code in Page_LOAD event. But, it did not open ASP pages from ASP.NET.


 Response.Write("window.open('pagemain.asp','RYANWINDOW','resizable=yes,scrollbars=no,width=0,height=0,status=yes,menubar=0,toolbar=0,left=0,top=0');")
 Response.Write("window.location.href = 'page1.asp';")

Thanks
0
Comment
Question by:genesiscircle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
bigphuckinglizard earned 250 total points
ID: 17772372
ASP.NET 1.x:       Page.RegisterStartupScript("openwindow", "<script>window.open('http://www.google.com');</script>");
ASP.NET 2.0:        Page.ClientScript.RegisterClientScriptBlock(this.GetType,"openwindow", "<script>window.open('http://www.google.com');</script>");
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Bootstrap list items overlap 3 36
Unexpected End of File 11 56
Syntax error creating JSON recordset 4 27
Exchange OWA website Redirection 7 42
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question