Saturday, October 13, 2012

SharePoint Online viewstate maximum

Big problem, if the viewstate in a SharePoint Online webpart exceed 128KB it breaks with

Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred.

Try setting controls to no use viewstate and making viewstate as small as possible.

No comments: