ASP.NET State Management: ASP.NET State Management: View State

ASP.NET

Milan Negovan has written an article to provide an in-depth perspective on ViewState mechanism. In his article, he suggested some of the do’s and dont’s of using ViewState, for example, how simply disabling view state of the whole page can greatly enhance the performance of the page, if you just need to display a DataGrid on the page with no PostBack.

Link:
ASP.NET State Management: View State

I have seen many occasions that developers left EnableViewState true even if they just want to display a basic report page containing a grid control. This leads to the page to generate huge rendered payload for the ViewState.

Tags: viewstate, asp.net