Wednesday, April 13, 2011

.NET/ASP.NET Interview Question -What is Viewstate?


ViewState is a state management technique build in ASP.NET.

ViewState basically maintains the state of the pages between postbacks.

ViewState maintain the session within the same page.

ViewState allows the state of objects to be stored in a hidden field on the page.

Please click here to see more .NET/ASP.NET interview questions


Muhammad Azeem said...

This is a nice article..
Its easy to understand ..
And this article is using to learn something about it..

c#,, php tutorial, Ms sql server

Thanks a lot..!

Andy Davies said...

I'd expect a candidate to tell me the drawbacks of viewstate not just what it is.

From a web performance point is view, viewstate sucks, as does the outback model it relies on.

Viewstate is 'not of the web'