473,508 Members | 2,475 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Redirect Method

Hi

Can I set the target of a page in Response.Redirect????
Like this:
I have a page that have 2 frames: contens and main (this are the names)
When I click in one button I want that the result page appears in one or
another page.
For example in a Login page:
When I click in Login button I want that
if login is correct I want that the result page appears in the same
frame (in this case is contents) that were am I

if login is incorrect I want that the result page appears in the other
frame (in this case is Main) that were am I

How can I do this with Response.Redirect("")?????

--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
Nov 20 '05 #1
2 1427
you dont.... serverside events dont really know about frames, etc.
I suggest going with user controls instead of frames. Same result with much
better interoperability.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"ruca" <ru***@iol.pt> wrote in message
news:Ow**************@TK2MSFTNGP10.phx.gbl...
Hi

Can I set the target of a page in Response.Redirect????
Like this:
I have a page that have 2 frames: contens and main (this are the names)
When I click in one button I want that the result page appears in one or
another page.
For example in a Login page:
When I click in Login button I want that
if login is correct I want that the result page appears in the same
frame (in this case is contents) that were am I

if login is incorrect I want that the result page appears in the other
frame (in this case is Main) that were am I

How can I do this with Response.Redirect("")?????

--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca

Nov 20 '05 #2
you dont.... serverside events dont really know about frames, etc.
I suggest going with user controls instead of frames. Same result with much
better interoperability.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"ruca" <ru***@iol.pt> wrote in message
news:Ow**************@TK2MSFTNGP10.phx.gbl...
Hi

Can I set the target of a page in Response.Redirect????
Like this:
I have a page that have 2 frames: contens and main (this are the names)
When I click in one button I want that the result page appears in one or
another page.
For example in a Login page:
When I click in Login button I want that
if login is correct I want that the result page appears in the same
frame (in this case is contents) that were am I

if login is incorrect I want that the result page appears in the other
frame (in this case is Main) that were am I

How can I do this with Response.Redirect("")?????

--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca

Nov 20 '05 #3

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

Similar topics

3
12378
by: Bill | last post by:
I have a page that contains processed variables that I'd like to forward using the response.redirect method. However, because the response.redirect contains the page within "pagename.asp", I have...
3
9059
by: Justin | last post by:
Hi, Im confused here over the usage of Response.Redirect and Server.Transfer. I used frameset for my work, what are the proper usages of the two methods that seems working similar.. The...
4
10582
by: bnob | last post by:
In a Button clik event I have this code at the end of the event Response.Redirect("Page.aspx") But in this event I must show a message before redirect to the Page.aspx. I use to show Message...
8
2154
by: Mantorok | last post by:
Hi all When I start a new thread that tries to call: HttpContext.Current.Response.Redirect() It fails as Current returns null, is there anyway to access the current httpcontext from within...
1
2727
by: MikeM | last post by:
We are getting a behavior on a Response.Redirect("SomeUrl", True) that I'm hoping someone can explain. This all refers to the code snip at the end. By the way, this is all VB ASP.NET v1.0 code. ...
5
4545
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks...
56
7177
by: UKuser | last post by:
Hi, I'm not sure if this can be done as I've searched the web and this forum. I am using an online merchant provider and I must post certain variables to their webforms through a form on my...
2
3367
by: daveh551 | last post by:
Okay, I asked a question a week or so ago asking for an explanation on relative URL's and the "~" symbol, and several people explained that the "~" is only usable when the URL is going to be parsed...
6
29723
by: rpcchandu | last post by:
Hi Coders, I have to redirect from my server to the different server page by simulating the POST method submit from the Controller file, I tried using post_via_redirect, but could not succeed......
1
7263
by: gnawz | last post by:
Hi guys, I have a couple of php files that perform various tasks. I will use fields in my system and provide code as well I need help as follows: My database contains the fields Category...
0
7231
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
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7066
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7504
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
5643
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,...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1568
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
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
435
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.