----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Prasanna_kakanoor Message 2 in Discussion Hi, Server.Transfer call shares/uses the same request as that of your calling page and behaves like a Jump call. The response, which is also shared, carries the output already generated until the call to Server.Transfer. The reason you see the Response.Write content of your calling page is for the same reason. Your question does not tell the requirement, so here goes the possibilities. If you require that the form in the calling page appear, then your requirement would be to use your called page as a subroutine, you should try Server.Execute(), which would execute the called page and return to the calling page. If you require that the calling page's Response.Write not appear then you should clear the response via Response.Clear in the called page. For the same you could also use Response.Redirect but try avoiding the same as much as possible. Prasanna K L [MCAD(CM) | MCSD.NET(Early Achiever)] ZapApp India Private Limited Level G & 1, Explorer Building, International TechPark, Whitefield Road, Bangalore - 560 066. INDIA 91-80- 5115 6050 extn. 4084 (phone) 91-80- 841 1858 (fax) [EMAIL PROTECTED] -----Original Message----- From: BDOTNET [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 4:39 PM To: BDOTNET Subject: Server.Transfer() query New Message on BDOTNET Server.Transfer() query Reply � Recommend Message 1 in Discussion From: Arijit Hi, I have a scenario where i am using two aspx pages : the calling page and the called page. in the �calling page i have a response.write() code line...and then i am doing a server.transfer to the called page,which also has some response.write() calls. when i get the display�in browser,i am able to see the response.write results of the�called page as well as that of the calling page. why is the calling page's response.write calls getting displayed ???� does server.transfer use the same response stream of the calling page to displaye the called page ??? if that is the case,why am i not getting the remaining�form elements of the calling page ??? � Pls advice... � Thanks and regards, Arijit� View other groups in this category. Also on MSN: Start Chatting�|�Listen to Music�|�House & Home�|�Try Online Dating�|�Daily Horoscopes Passport Member Services. For other questions or feedback, go to our Contact Us page. If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. Remove my e-mail address from BDOTNET. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
