This question is locked. New answers and comments are not allowed.
I am editing an object that has 5 checkboxes, and a validation rule that at least one must be checked.
During validation I make one Validation result with multiple properties. This way, each checkbox gets a red error indicator.
new ValidationResult("At least one Finance Type is Required", new List<string>() { "IsCash", "IsFinancePromo", "IsFinanceStandard", "IsLeasePromo", "IsLeaseStandard" });
The problem is that in the validation summary, instead of seeing the error message once, I'm seeing it 5 times.
How can I make the validation summary of the RadDataForm display DISTINCT ValidationResults only?
During validation I make one Validation result with multiple properties. This way, each checkbox gets a red error indicator.
new ValidationResult("At least one Finance Type is Required", new List<string>() { "IsCash", "IsFinancePromo", "IsFinanceStandard", "IsLeasePromo", "IsLeaseStandard" });
The problem is that in the validation summary, instead of seeing the error message once, I'm seeing it 5 times.
How can I make the validation summary of the RadDataForm display DISTINCT ValidationResults only?