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
No Data
Reply
  • 2151
    Offline posted

    Hello neelesh,

     

    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.

     

    Sincerely,

    Radko Kolev

    Infragistics Inc.

    www.infragistics.com/support

Children