wessamzeidan Posted August 31, 2004 Posted August 31, 2004 I've been working on an asp.net project for over 2 months now. I was working on my local machine, so I never cared about the size of the page. But lately I started checking the viewstate of my pages, and, they were big. The smallest was about 8KB. Some reached to about 100KB....... Any suggestions or ideas on how to reduce the size of the viewstate.... Thanks Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
Moderators Robby Posted August 31, 2004 Moderators Posted August 31, 2004 Set EnableViewState to False on any control that does not need it, if the control is populated on each postBack wheather from cache or DB then you don't need the viewstate. Don't go crazy and disable all of them in one shot, do it by section and unit test each occurance. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.