can we transfer data from one page to another page using
viewstate if so how?if not y?

Answer Posted / shravankumar

i feel it's possible to pass values from one page to
another using view state

Just try this :

Hold the values in viewstate which you want to transfer to
another page , in the next page where you want to pass the
values ,

In page_load
Access the values hold in view state

Just try this once :

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain code with multi inhertance

1872


If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?

807


What is active web page?

776


Is session server side or client side?

741


Explain culture and uiculture values.

789


What is the use of asp.net web api?

850


What are session state modes in asp.net?

787


How would ASP and ASP.NET applications run at the same time on the same server?

2226


Give me one example of Web API Routing?

845


In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?

745


How many ways are there to maintain a state in .net? What is view state?

834


How can you ensure a permanent cookie?

797


Why do we use sessions?

814


About CLR, reflection and assemblies?

1760


Explain Areas in MVC?

866