Milan Negovan has written an article to provide in-depth prospective on view state mechanism. In his article, he suggested some do’s and dont’s on using view state, like how simply disabling view state of whole page, can great enhance the performance of page if you just need to display a DataGrid on the page with no PostBack.
URL: ASP.NET State Management: View State
I have seen many times, that developers keep EnableViewState true even if they simply have to display a single page report (as most of the reports as basically rendered using DataGrid, and this DataGrid control really generate huge stuff for view state).
Alternatively, you can also think of storing view state of page at server. How? Milan has answer of this question in his article.

Recent Comments