Geeks With Blogs

AzamSharp Some day I will know everything. I hope that day never comes.

ASP.NET 2.0 introduces the ViewState Chunking mechanism. This means that if your ViewState is too large then it will be broken into small chunks. The reason behind this feature is that many firewalls and proxies does not accept the huge ViewState sizes.

You can set the MaxPageStateFieldLength property in the web.config <pages> section. The property represents the number of bytes. By default the value is -1 which means no chunking.

<pages maxPageStateFieldLength="15">

</ pages>

 

 

powered by IMHO 1.3

Posted on Friday, June 9, 2006 9:52 PM | Back to top


Comments on this post: ViewState Chunking in ASP.NET 2.0

# re: ViewState Chunking in ASP.NET 2.0
Requesting Gravatar...
what is viewState Chunking Plz give me a find Ans...
Left by chirag on Oct 14, 2010 9:16 PM

Your comment:
 (will show your gravatar)


Copyright © Mohammad Azam | Powered by: GeeksWithBlogs.net