View State in ASP.NET and understand how it works
In this article, I would explain about View State in ASP.NET, What is it and how it works.
Have you ever wondered why coding in ASP.NET is so much fun, easy, and less coding time compared to Classic ASP or any other languages such as PHP, JSP ?. One of the reason behind this was ViewState. Every Control in ASP.NET comes with ViewState enabled by default and with the power of ViewState, all your control can remember its values after page post back. ViewState can help you minimize your coding downtime however it has its own pros and cons. Read this article, and you can understand how to minimize your page ViewState data and improve your site performance. You can see the values of ViewState easily by viewing the source of aspx page. You should be able to see that there is hidden values called ViewState.