interviews.dotnetthread.com

↑ Grab this Headline Animator

Saturday, May 3, 2008

What does the "EnableViewState" property do? Why would I want it on or off?

It allows page objects to save their state in a Base64 encoded string in the page HTML. One should only have it enabled when needed because it adds to the page size and can get fairly large for complex pages with many controls. (It takes longer to download the page).

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.

 

Latest Articles