I'm creating a custom new and edit form from an asp.net user control
for a specific content type. Very powerful, but an issue that I am
running into is resulting in a "Failed to load viewstate" error.
User clicks a link button; it does a postback and sets the visibility
of a SharePoint Form Field (or any parent container of the Form Field)
control to false. The page renders as expected but upon the next
postback it throws the viewstate error.
I can successfully hide any other .net, Field Label, or Field
Description control, just not a SharePoint Form Field control.
Any ideas?
Do you know someone who can help? Share a link to this thread on twitter, or facebook.