I would expect that the size of the viewstate is being limited by the maximum
size of an individual request. I believe the default max is something around
4MB. The config item that changes this value is maxRequestLength in the
httpRuntime tag. For example,
<httpRuntime maxRequestLength="15360" />
sets the maximum request size to 15360 KB. This tag can be set either at a
web.config or machine.config level.
Hope that helps.
Bruce Johnson [.NET MVP]
http://www.objectsharp.com/blogs/bruce
Amir said:
Hi everyone
How can I expand the size of an aspx page's viewstate or all pages' viewstate?
thanks in advanced