Hi,
As I would like to display rich, structured information with validation errors, in my application calls to INotifyDataErrorInfo.GetErrors don't return strings but complex objects. For example, there is a severity level that would need to affect the colors (from orange to darker red).
It easily works everywhere, except on the RadGridView.
I've been trying to replace the GridViewValidationToolTipTemplate with something that does not assume errors to be simple strings. I've tried setting the ToolTip.Content in other templates to Validation.Errors (the original errors) instead of Errors (which is a list of strings), but that just brings a list of duplicated entries at row level (GridViewRowTemplate), or no entry at all on cell level (GridViewCellTemplate).
Am I missing something? What do you suggest?
Thanks
As I would like to display rich, structured information with validation errors, in my application calls to INotifyDataErrorInfo.GetErrors don't return strings but complex objects. For example, there is a severity level that would need to affect the colors (from orange to darker red).
It easily works everywhere, except on the RadGridView.
I've been trying to replace the GridViewValidationToolTipTemplate with something that does not assume errors to be simple strings. I've tried setting the ToolTip.Content in other templates to Validation.Errors (the original errors) instead of Errors (which is a list of strings), but that just brings a list of duplicated entries at row level (GridViewRowTemplate), or no entry at all on cell level (GridViewCellTemplate).
Am I missing something? What do you suggest?
Thanks