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


Please Help Members By Posting Answers For Below Questions

What is the caspol.exe tool used for?

545


Explain the concept of View Model in MVC?

603


What is an example of an application service provider?

457


Which authentication uses a combination of windows and iis authentication?

593


What is query string?

574






What is the displayafter property in updateprogress control?

511


What is server components?

539


Why SessionID changes in every request in asp.net?

550


What is true about application service provider?

497


Is asp.net core faster?

548


Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?

578


how to debug web services on consumer side?

582


What is custom events?

573


What is meant by asp.net?

544


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

606