disable validation on disabled controls

Jul 20, 2009 at 10:16 AM
Edited Jul 20, 2009 at 10:17 AM

Hi all,

I have some forms all encapsulated by a validation block. My question is : How do i disable the validation on disabled controls ?


<validation:ErrorProvider x:Name="ValidationProvider"
                    <validation:RuleSet Name="MandatoryFields" ValidateOnLoad="True" />
                    <validation:RuleSet Name="ClientErrors" ValidateOnLoad="False" />
                    <validation:RuleSet Name="ClientWarnings" ValidateOnLoad="False" />
                    <validation:RuleSet Name="ServerErrors" />
                    <validation:RuleSet Name="ServerWarnings" />

 ....then comes the form


Thanks in advance

Jul 21, 2009 at 2:16 AM

I'm not familiar with the markup you posted.  Could you provide information on this?


Sarah Urmeneta
Global Technology & Solutions
Avande, Inc.