473,320 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 1420
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
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
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
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
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
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
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
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
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
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
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.