Server.Transfer problems

D

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
 
D

Daniel Groh

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: (e-mail address removed)
 
D

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top