Sunday, July 22, 2007

Server.Transfer

Server.Transfer:
+ Transfers a user to a URL or webform, without changing URL on client browser
+ Can not be used to send the user to an external site
+ Has a second parameter ‘preserveForm’, if true, it maintains form variables in the page from which the transfer initiates
+If textbox1 value on page 1 is needed on page2, it can be done by Request.Form(“textbox.Text”)

No comments: