Sharepoint Web Part validation set off by Publishing Controls

Posted by dunxd on Stack Overflow See other posts from Stack Overflow or by dunxd
Published on 2010-12-30T12:44:51Z Indexed on 2010/12/30 12:53 UTC
Read the original article Hit count: 125

Filed under:
|
|

I have a web part which uses validation on a textbox field to prevent submission of an empty field. When clicking on Check In to Share Draft or Publish, this validation is done, and since I am not actually trying to submit the form, but rather check it in, I'd rather this didn't happen.

How can I achieve this?

See also: Sharepoint web part form validation blocks updating web part settings - this has the validation code, and how I solved the problem of the EditorPart setting off the validation.

© Stack Overflow or respective owner

Related posts about c#

Related posts about sharepoint2007