Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Custom new/edit form

  Asked By: Billy Ramos         Date: Nov 21, 2009      Category: Sharepoint      Views: 546
 

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.

Tagged:      

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Custom new/edit form Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].