ErrorMessage property on Validation attributes not picked up

Topics: Developer Forum
Jun 4, 2007 at 12:15 PM
Hi Simon,

I have just updated my reference of the ValidationFramework to the latest source code, and after renaming ValidatorGenerator to PropertyValidatorGeneratorControl, i have a successful build.

Upon running my application, I notice that default error messages are being output inline with my controls, e.g.:

"The member 'Startx0020 Time' is required and cannot be '01/01/0001 00:00:00'."

is output, instead of my custom ErrorMessage string "Start Time is required".

Could you please take a look?

Thanks,

Dan
Coordinator
Jun 4, 2007 at 3:29 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Jun 4, 2007 at 3:31 PM
Thanks for finding the bug
It is fixed now,
Jun 5, 2007 at 10:51 AM
Hi Simon,

Thanks, that worked.

Cheers,

Dan