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 the significance of proxy user?
What are type/key pairs in client script registration?
What are the different types of cookies in asp.net?
Write a code for passing ArrayList in Web API?
What is a swagger in web api?
What are different types of api?
What are ASHX files?
Less than one page, how many windows will you be able to maintain?
Is post back in asp.net?
What is boxing and unboxing in asp.net?
What are the different types of sessions in asp.net? Name them?
Can we add code files of different languages in app_code folder?
What is autopost?
Explain code snippet to register exception filters from controller?
What is the difference between Hash table and Array list?