Bug with PropertyComparisonValidator?

Topics: Validation Application Block
Apr 27, 2007 at 2:05 AM
In trying to create a custom validator, I was studying the QuickStart application and the PropertyComparsionValidator.

I added a second text box, say RewardPoints2, and did all the work to wire it up. If I add a PropertyComparisonValidator to it and set the propertyToCompare to RewardPoints, when I click on the "Enable WinForms-Integrated Validation," the program creates an exception in ValidationProvider.cs at line 244 (in the GetExistingValidatedControlItem() method).

So, it appears to me that the PropertyComparisonValidator is incompatible with the WinForms integration module.

Has anyone else seen this problem or can confirm?

Apr 27, 2007 at 10:56 AM
I posted this problem in another thread a few weeks ago, it is confirmed and I assume they will fix it in the upcoming maintenance release.