asp.net - When to enable/disable Viewstate -


i generaly disable viewstate asp.net controls unless explicitly know going require view state them. have found can reduce page size of html generated.

is practice? when should enabled or disabled?

yes idea. 1 argue should have been disabled default microsoft, caching.

to see how bad viewstate in terms of size increased can use tool called viewstate analyzer. particularly useful when have existing application developed viewstate enabled.

another reason disable viewstate is hard disable @ later stage, when have loads of components depending on it.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -