can we pass values from one page to another page without
redirecting to that page?
Answer Posted / amam
We can pass it using server.transfer.
add the value in context.items.add["value",txtDemo.text];
retrive it in the above mentioned page using (!previouspage.iscrosspagepostback)
context.items["value"].tostring();;
as we are using server.transfer url will be same as the page we are sending the value
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?
What are the parts of an http response?
What is preprocessor in .net and type, where it use?
Explain the main function of razor in asp.net? : asp.net mvc
How to change Master page in ASP.Net using code?
hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.
What are the 3 types of web?
What is ascx?
Explain how is the asp.net mvc architecture different from others? : asp.net mvc
What's the use of response.output.write()?
What is the difference between custom web user control and a custom web server control?
What is Forms Authentication in ASP.NET?
What do you mean by role-based security?
Which is faster viewdata or viewbag?
What are the authentication types in asp.net?