?
Solved

Open asp page from aspx page

Posted on 2006-10-20
1
Medium Priority
?
1,257 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 1000 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

762 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