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
精彩评论