In some occasions browsers may block or truncate generated viewstate due to it’s length. This short tweak may solve the issue by dividing the viewstate to independent hidden fields based on the number you provide as value. In this example maxPageStateFieldLength set to 50 this means when viewstate get beyond 50 characters it will be broken to different hidden fields holding viewstate’s value.
<system.web>
<pages maxPageStateFieldLength="50">
<controls />
</pages>



0 comments:
Post a Comment