473,486 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

newbee question: How to call a second aspx

EMW
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
Nov 18 '05 #1
16 2049
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

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
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

Nov 18 '05 #2
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

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
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

Nov 18 '05 #3
BTW, are you from Microsoft or just spoofing their email address?

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
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


Nov 18 '05 #4
BTW, are you from Microsoft or just spoofing their email address?

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
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


Nov 18 '05 #5
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

--------------------
From: "EMW" <So*****@MicroSoft.Com>
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: newbee question: How to call a second aspx
Date: Fri, 9 Apr 2004 22:45:01 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Lines: 10
Message-ID: <40**********************@dreader2.news.tiscali.nl >
Organization: Tiscali bv
NNTP-Posting-Date: 09 Apr 2004 22:45:03 CEST
NNTP-Posting-Host: 212.182.176.131
X-Trace: 1081543503 dreader2.news.tiscali.nl 41750 212.182.176.131:4675
X-Complaints-To: ab***@tiscali.nl
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.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.tisc ali.nl!dreader2.news.tisca
li.nl!not-for-mailXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:224734
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

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


Nov 18 '05 #6
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

--------------------
From: "EMW" <So*****@MicroSoft.Com>
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: newbee question: How to call a second aspx
Date: Fri, 9 Apr 2004 22:45:01 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Lines: 10
Message-ID: <40**********************@dreader2.news.tiscali.nl >
Organization: Tiscali bv
NNTP-Posting-Date: 09 Apr 2004 22:45:03 CEST
NNTP-Posting-Host: 212.182.176.131
X-Trace: 1081543503 dreader2.news.tiscali.nl 41750 212.182.176.131:4675
X-Complaints-To: ab***@tiscali.nl
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.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.tisc ali.nl!dreader2.news.tisca
li.nl!not-for-mailXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:224734
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

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


Nov 18 '05 #7
EMW
it is the email adres from an example.
"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> schreef in bericht
news:%2****************@TK2MSFTNGP11.phx.gbl...
BTW, are you from Microsoft or just spoofing their email address?

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
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

Nov 18 '05 #8
EMW
it is the email adres from an example.
"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> schreef in bericht
news:%2****************@TK2MSFTNGP11.phx.gbl...
BTW, are you from Microsoft or just spoofing their email address?

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
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

Nov 18 '05 #9
EMW
both actually.
"Pete Beech" <pe*********@hotmail.nojunk.com> schreef in bericht
news:uO**************@tk2msftngp13.phx.gbl...
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

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
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


Nov 18 '05 #10
EMW
both actually.
"Pete Beech" <pe*********@hotmail.nojunk.com> schreef in bericht
news:uO**************@tk2msftngp13.phx.gbl...
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

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
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


Nov 18 '05 #11
Could you change it? Some of us highlight MS addresses.

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
it is the email adres from an example.


Nov 18 '05 #12
Could you change it? Some of us highlight MS addresses.

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
it is the email adres from an example.


Nov 18 '05 #13
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
Nov 18 '05 #14
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
Nov 18 '05 #15
EMW
done!

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> schreef in bericht
news:eZ**************@TK2MSFTNGP10.phx.gbl...
Could you change it? Some of us highlight MS addresses.

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
it is the email adres from an example.

Nov 18 '05 #16
EMW
done!

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> schreef in bericht
news:eZ**************@TK2MSFTNGP10.phx.gbl...
Could you change it? Some of us highlight MS addresses.

"EMW" <So*****@MicroSoft.Com> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
it is the email adres from an example.

Nov 18 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1192
by: Alexia | last post by:
Hi, I have a real beginner question for u.... what i want to do is close a form when a new one opens. At present when i run my application and arrive at the main form, i press a button to...
4
3582
by: cmc | last post by:
Hi, I 'm new to DB2 (from Oracle background) and have some fundamental question. In Oracle, you create user account "within the database" to let user to logon to the database. There is no tie...
3
238
by: jm | last post by:
I have a question about codebehind. I have an upload namespace, class and all in a codebehind. I currently have it so it works with one of my .aspx pages. I want to use it for another .aspx...
9
341
by: EMW | last post by:
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,...
2
2282
by: Jonny | last post by:
Hiya all Using: ASP.NET Version 1.1 I am learning ASP.NET & would like to know:- How do I add a Open Browser Dialog behind a server button & validate a chosen file as a new e-mail...
2
1395
by: Mel | last post by:
I have a selection box with 3 values. what i need is to pass 3 urls to a function that has a switch statement and based on the selection index goes on one of the tree urls. Question is how do i...
0
1299
by: Martin Arvidsson, Visual Systems AB | last post by:
Hi! I have a couple of newbee questions. I have a .aspx page with a couple of TextBoxes and a submit button. Now... When i press the submitbutton i want the data in the TextBoxes to be...
2
1718
by: Rene | last post by:
Hello to all! I am a newbee to C++, I did a beginners' course, and now I am stuck with a strange problem. I have written the function that is pasted downwards. The peculiar thing is that when...
0
7100
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7330
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5434
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3070
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.