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.
Hello neelesh,
I am just checking if you have any further questions on this matter. Please do not hesitate to let me know if you do.
Sincerely,
Radko Kolev
Infragistics Inc.
www.infragistics.com/support
I am just checking to see if you manage to resolve your issue or if you have any further questions.
I was not able to fully understand your scenario, but I tried improvising and created a sample for you which displays a red border around the xamDataGrid when there is at least one validation error present in it. You can download the sample by clicking on this link:
https://filetransfer.infragistics.com/public.php?service=files&t=658b05242cb946f34956db7cf9a74f67
If you require any further assistance, please do not hesitate to ask.
Thank you for your post. I was looking at your issue and it seems I am missing something from your scenario. Can you please provide more information regarding of how you set the trigger and also how do you bind it to the validation property. Also where do you want to have a red border, around the whole xamDataGrid or just around each cell with validation error? Also where do you need to have a tooltip?
Looking forward to hearing from you.