all groups > asp.net > april 2004 >
You're in the

asp.net

group:

newbee question: How to call a second aspx


Re: newbee question: How to call a second aspx Ken Cox [Microsoft MVP]
4/9/2004 7:32:54 PM
asp.net:
BTW, are you from Microsoft or just spoofing their email address?

[quoted text, click to view]
newbee question: How to call a second aspx EMW
4/9/2004 10:45:01 PM
I have created a page in aspx and after a click on a button, a new page
should open.
How is this possible?
I tried it doing it like in vb.NET with opening a new form, but it doesn't
work.

rg,
Eric

RE: newbee question: How to call a second aspx cmoore NO[at]SPAM online.microsoft.com
4/9/2004 11:37:35 PM
Do you mean that you want to second page to open in a completely new
browser window? Or just open a page in the same window. If it's the
latter, you can use Response.Redirect(newPage) or Server.Transfer(newPage)
depending on which will suit your needs.

Chris

--------------------
[quoted text, click to view]
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!
195.241.76.212.MISMATCH!tiscali!transit1.news.tiscali.nl!dreader2.news.tisca
li.nl!not-for-mail
[quoted text, click to view]
Re: newbee question: How to call a second aspx Pete Beech
4/10/2004 1:10:21 AM
You probably want to use Response.Redirect or Server.Transfer.

Response.Redirect(NextPageURL) will actually respond back to the browser,
and tell it to request the NextPageURL. Server.Transfer will, on the server,
redirect to the page - the URL in the browsers address bar will be left as
the original page, and if this doesn't matter, its the most efficient.

Or do you mean open up in a new browser window (the above solutions will
normally change the page in the existing browser window)

HTH,
Pete Beech

[quoted text, click to view]

Re: newbee question: How to call a second aspx EMW
4/10/2004 8:01:01 AM
it is the email adres from an example.


"Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> schreef in bericht
news:%23b2Z6roHEHA.2720@TK2MSFTNGP11.phx.gbl...
[quoted text, click to view]

Re: newbee question: How to call a second aspx EMW
4/10/2004 8:01:23 AM
both actually.


"Pete Beech" <peter_beech@hotmail.nojunk.com> schreef in bericht
news:uOrkggoHEHA.3720@tk2msftngp13.phx.gbl...
[quoted text, click to view]

Re: newbee question: How to call a second aspx Ken Cox [Microsoft MVP]
4/10/2004 10:01:23 AM
Could you change it? Some of us highlight MS addresses.

[quoted text, click to view]
Re: newbee question: How to call a second aspx Cor Ligthert
4/10/2004 5:12:38 PM
Hi Eric,

This is completly different than in windowforms, both is of course VB.net.

You got the right answer from Chris Moore, so I do not repeat it.

Cor

Re: newbee question: How to call a second aspx EMW
4/11/2004 8:07:17 PM
done!

"Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> schreef in bericht
news:eZO8ORwHEHA.1548@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button