Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
535
Highlight entire grid if Validation has error
posted

Hi,

I have a Xamdatagrid which is bound to some data. When I set the properties : 

SupportDataErrorInfo="CellsOnly" DataErrorDisplayMode="Highlight"

the cell with the validation error highlights with the tooltip.

What I need is when there is any validation issue then the grid's border should be changed to red color with the tooltip. I tried setting a trigger on Validation.HasError property but this doesn't seem to work.

Any pointers would be helpful.

Parents Reply Children
No Data