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
How to create events for a control?
What I need to create and run an asp.net application?
What is a 404 redirect?
What is the use of session in web application?
What is the difference between asp.net and mvc?
Does web services support data reader like pom project?
What are the asp.net server side objects?
What is difference between Fragment Caching and Page Caching in ASP.NET?
What is the procedure to create the environment for asp.net? : asp.net mvc
What are url fragments?
In order to get assembly info which namespace we should import?
What setting must be added in the configuration file to deny a particular user from accessing the secured resources?
Explain an object, class and method.
What are the authentication types in asp.net?
What is xaml? Are xaml file compiled or built on runtime?