473,386 Members | 1,867 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,386 software developers and data experts.

Server.Transfer problems

dee
Hi

I'm posting back to a second page using Server.Transfer().
There are buttons on this second page that use Respose.Redirect() since some
of the pages are html's and the Transfer function cant be used. This causes
very wierd results: the page accessed through the Redirect function appears
as the sending page in address bar and nothing show up in content.
Is it that once you use the Transfer() Function you are forbidden to use
Redirect()?
In that case how can you post back to second page using any other dotnet
method.?

Thanks for your help.
Dee
Nov 19 '05 #1
2 1170
I've never had this problem, are you sure that there's no erros in your page
that comes from the redirect page?

Are u using try{} catch{} ?

Server.Transfer is not so friendly in my opinion but you can use it withou
this problems!

Regards

--

Atenciosamente,

Daniel Groh
CTF Technologies do Brasil Ltda.
Analista Programador
Fone: 11 3837-4203
E-mail: dg***@ctf.com.br
"dee" <dee@home> escreveu na mensagem
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi

I'm posting back to a second page using Server.Transfer().
There are buttons on this second page that use Respose.Redirect() since
some
of the pages are html's and the Transfer function cant be used. This
causes
very wierd results: the page accessed through the Redirect function
appears
as the sending page in address bar and nothing show up in content.
Is it that once you use the Transfer() Function you are forbidden to use
Redirect()?
In that case how can you post back to second page using any other dotnet
method.?

Thanks for your help.
Dee

Nov 19 '05 #2
dee
Daniel,
When I use QueryString to send data to 2nd page all buttons work fine. When
i use Transfer the 2nd page is still valid but the control on the page act
up. It is probably in some way related to the fact that when you use
Transfer the address bar on the browser is not updated.
I'll put more try's in the code to see whats happening thanks for the
suggestion and its good to know that Transfer does work for someone.
Good luck.
Dee

"Daniel Groh" <ne*********@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I've never had this problem, are you sure that there's no erros in your
page that comes from the redirect page?

Are u using try{} catch{} ?

Server.Transfer is not so friendly in my opinion but you can use it withou
this problems!

Regards

--

Atenciosamente,

Daniel Groh
CTF Technologies do Brasil Ltda.
Analista Programador
Fone: 11 3837-4203
E-mail: dg***@ctf.com.br
"dee" <dee@home> escreveu na mensagem
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi

I'm posting back to a second page using Server.Transfer().
There are buttons on this second page that use Respose.Redirect() since
some
of the pages are html's and the Transfer function cant be used. This
causes
very wierd results: the page accessed through the Redirect function
appears
as the sending page in address bar and nothing show up in content.
Is it that once you use the Transfer() Function you are forbidden to use
Redirect()?
In that case how can you post back to second page using any other dotnet
method.?

Thanks for your help.
Dee


Nov 19 '05 #3

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

Similar topics

6
by: StephenMcC | last post by:
Hi All, Got a quick query in relation to the Server.Transfer method available in IIS 5+/ASP. I've got an issue where I want to take a portion of an online app and extract this out into a web...
2
by: Jeremy | last post by:
I'm having some problems with using Server.Transfer and I am hoping somebody can help me. Page 1 has a datagrid, Page 2 has a form. If a user goes to page 1 and selects something out of the...
8
by: Cathie | last post by:
Hi guys, I want to do a Server.Transfer to get to a second page, so that I may retrieve variables I have set in the first page. I'm doing that with the usual Server.Transfer("pagename", true). ...
5
by: Guadala Harry | last post by:
I've been reading up on Server.Transfer as well as doing some testing, and it appears to always raise the ThreadAbortException error. On one hand I've read a bunch of promotional-type material...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.