mike55 Posted October 20, 2006 Posted October 20, 2006 Hi, I have two web user controls on my page, each has its own validators in the form of required field and regular expression validators. All the validators in both web user controls have the "EnableClientScript" property set to "false". The problem that I am experiencing is that when a post-back occurs on one web user control, it causes the validators in the other control to fire off. Can anyone suggest a possible means of stopping this occuring? Mike55. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Administrators PlausiblyDamp Posted October 23, 2006 Administrators Posted October 23, 2006 If you are using .Net 2 then you could assign a validation group to the controls - controls in the same group trigger validators in the same group only. If .Net 1 / 1.1 then there isn't any simple built in solution I'm afraid. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.