Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Disable Viewstate in Web Parts View modes: 
User avatar
Member
Member
ralph - 4/9/2009 2:41:03 PM
   
Disable Viewstate in Web Parts
Hi there

I just discovered, that in version 4.0 you can disable the view state of every web part reducing greatly the size of the __VIEWSTATE input field by up to 90%!

Now I am not a hardcore .Net developer and I am asking in what cases it is safe and in what cases it is not safe to disable the viewstate.

I guess for all sort of menu items or text boxes and repeater it is, but what about search web parts and blog comments....

Is there some documentation around?

Thanks
ralph

User avatar
Kentico Developer
Kentico Developer
kentico_zbysekn - 4/14/2009 8:40:55 AM
   
RE:Disable Viewstate in Web Parts
Hi Ralph,
basically you can disable viewstate for webparts which doesn't produce dynamic data,you can refer to this article(Disable viewstate).
You can find there brief description, if you're not sure you can give a try and see what will be produced as output of webpart.

Best Regards,
Zbysek Nemec