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 r the asp.net list controls and difference between them?

508


Which methods validate all the controls on a page?

548


What are the difference between function and stored procedure in .net programming language?

256


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

528


Who generates session id?

488






What is the use of ASP.NET routing?

557


What is asp net theme?

523


What is the function used for removing an event listener?

548


Explain what is postback in asp. Net?

549


What are the uses of list view control in Asp.net?

615


Define resource files.

561


What New Features comes with ASP.NET Web API 2.0?

543


How you will manage the state of ASP.NET controls?

570


Can viewstate be accessed in another page?

508


Explain security types in asp.net?

541