Solved

Open asp page from aspx page

Posted on 2006-10-20
1
1,214 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
1 Comment
 
LVL 6

Accepted Solution

by:
bigphuckinglizard earned 250 total points
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
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:
This video teaches users how to migrate an existing Wordpress website to a new domain.

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now