PC Review


Reply
Thread Tools Rate Thread

Create a seperate web page from within an aspx web page

 
 
S_K
Guest
Posts: n/a
 
      2nd Oct 2007
Hi,

I need to create and display a completely new and seperate web page
from within an existing web page. Response.Redirect("localhost....")
dosen't do it because I have a SINGLE web page when I need two
seperate web pages.

Any ideas?

 
Reply With Quote
 
 
 
 
Norman Yuan
Guest
Posts: n/a
 
      2nd Oct 2007
You mean opening a new browser window at CLIENT-SIDE and have a web page
shown in it, right?

You need to use client-side script to open a new browser window, not
server-side code (such as Response.Redirect("....").


"S_K" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I need to create and display a completely new and seperate web page
> from within an existing web page. Response.Redirect("localhost....")
> dosen't do it because I have a SINGLE web page when I need two
> seperate web pages.
>
> Any ideas?
>


 
Reply With Quote
 
Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
Guest
Posts: n/a
 
      2nd Oct 2007
The JavaScript window.open method is a common solution.
Here's more info:
http://SteveOrr.net/articles/ClientSideSuite.aspx
http://msdn.microsoft.com/library/de...ods/open_0.asp

Without JavaScript your only real solution is to use a hyperlink with the
target attribute set:
<a href="MyPage.aspx?myparm=1" target="_blank">Click Me</a>

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


"S_K" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I need to create and display a completely new and seperate web page
> from within an existing web page. Response.Redirect("localhost....")
> dosen't do it because I have a SINGLE web page when I need two
> seperate web pages.
>
> Any ideas?
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to fire off a completely seperate .aspx page from within an .aspx web page. S_K Microsoft ASP .NET 1 2nd Oct 2007 01:05 AM
How to fire off a completely seperate .aspx page from within an .aspx web page. S_K Microsoft ASP .NET 0 1st Oct 2007 11:40 PM
How to fire off a completely seperate .aspx page from within an .aspx web page. S_K Microsoft ASP .NET 0 1st Oct 2007 11:40 PM
How to fire off a completely seperate .aspx page from within an .aspx web page. S_K Microsoft ASP .NET 0 1st Oct 2007 11:40 PM
How to Pass values between from a popup page aspx & a normal page aspx Marco Antonio Montalvo Durán Microsoft ASP .NET 2 23rd Jan 2004 09:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:41 AM.