In some scenarios, you are in a situation to use "CustomValidtors" in your SharePoint WebPart coding (object model). This is very common situation to handle/validate our webpart controls using default validation controls.
But, in SharePoint object model, "CustomValidator" won't fire perfectly in most of the scenarios. Then what to do?
Microsoft Provides an another control called "InputFormCustomValidator". Just explore all the features by using this control. Some of the key points are:
1. For InputFormCustomValidator, we need not to assign the "ControlToValidate" property.
2. We can enforce the "Page.Validate();" method on button click method.
Hi,
ReplyDeleteThis artical is very useful for me. I am a Share Point developer and always looking to
learn something new. I would like to introduce another good SharePoint blog, Have a look.
http://SharePointBank.com
Harry