Solved

Open asp page from aspx page

Posted on 2006-10-20
1
1,236 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
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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to get the web content with different encodings 2 61
Redirect Website for Mobile Devises 9 133
Where can I find... 1 43
"Go Fund Me" type plugin 5 24
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Read about why website design really matters in today's demanding market.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

856 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