开发者

When Required field validator fires when it enabled and showing Error messages...?

I have 1 dropdown List and it contains 3 items like Email, Message and Phone. Based on selection of dropdown we are showing text boxes remaining all text boxes are in invisible. We are using Requiredfield validator (RFV1,RFV2) for these textboxes and based on selection enableing RFV's here we are facing the problem enabling RFV's by javascript function at the same it selfs showing all the Error messages.

So, how to prevent error messages showing on Enable of RFV's.

Thanks in Advan开发者_开发知识库ce.


Try using Validation Group. You can use ValidationGroup which would allow specific buttons to handle specific validation group marked controls only.

See here for more information

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜