Archive for February, 2008

Quick and Dirty View of ViewState

Wednesday, February 13th, 2008

At the place of my employment, the pace of development is very fast. Fortunately ASP.NET is terrific at doing rapid development. Unfortunately, it’s also very good at helping you make bad mistakes if you are not careful. ViewState is one of those great technologies that makes whipping up a website quick, but will bite you bad if you forget to keep track of it. That happened to me on a recent page where the number of controls is quite staggering. The problem is not the number of controls, but the amount of ViewState that gets created to support them. I needed to reduce the amount of content in ViewState fast!

(more…)