Home Forums WinForms controls Xceed Grid for WinForms Custom validationcriteria object and validation summary Reply To: Custom validationcriteria object and validation summary

User (Old forums)
Member
Post count: 23064

For the validation summary, it might be tricky to build a generic summary. I see that concatenating all generated error messages could be a summary if your configured description messages are short.

You could try to:

1)       Build a list of all components and grid elements (cells) you want to summarize errors.

2)       Analyse the content of its ErrorDescription properties by calling:
                Errors = Errors + ValidationProvider.GetValidationError(component)

That being said it is a nice feature that Xceed could implement.

I will add that one to the list.

 

 

Imported from legacy forums. Posted by Vincent (had 1063 views)