Changing RuleSetName at runtime in WPF VAB

Topics: Validation Application Block
Oct 4, 2011 at 8:49 PM

Hi,

I have requirement of changing VAB RuleSetName dynamically depending on Current Culture associated to various UI elements. I would like to know how we can approach this.

I'm not able to apply Binding to RuleSetName property as well. Any Ideas/thoughts?

Appreciate the help!!

Thanks

 

Oct 5, 2011 at 5:02 AM

Take a look at tjis, under the "Performing Validation and Displaying Validation Errors" section: http://msdn.microsoft.com/en-us/library/ff953182(v=PandP.50).aspx

Oct 5, 2011 at 12:56 PM

Hi,

As far as I know, you cannot change the RuleSetName once a control is "binded" to a particular validation rule.

 

Noel Angelo Bolasoc
Avanade Software and Cloud Services
Avanade, Inc.
Contact 

Oct 5, 2011 at 4:23 PM
Edited Oct 5, 2011 at 4:24 PM

Hi Noel, Thanks for the reply.. Do we have any way to achieve this.. Customization

Oct 6, 2011 at 5:17 AM

We'll look for possible workaround. We'll get back to you on this one.

 

Noel Angelo Bolasoc
Avanade Software and Cloud Services
Avanade, Inc.
Contact