The validation is working alright with viewmodel bound to PropertyGrid. But it is not working when it is bound to CollectionEditor. (See attached picture)
The desired behavior can be achieved by creating an attached property and handling the AutoGeneratingPropertyDefinition event of the RadPropertyGrid inside the CollectionEditor.
I'm attaching a sample project to demonstrate this. Please have a look at it and let me know whether such an approach would work for you.
Regards,
Dilyan Traykov
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.