I am binding the Ultragrid to an entity that implements the IDataErrorInfo. When I set the error on the entity the grid cell or the row based on the SupportDataErrorInfo display the error provider but when you mouse over the error provider the error message does not show up as tool tip.
I am using the 2008 v8.1 release. This works for me in the 2006 v 6.1 release.
Do I need to set some other property to get the tool tip to display the error message?
I too cannot get this to work, using 8.1, 2161
Tried the attached example, did not work.
Was this an 8.1 issue that never got resolved?
Thank you Mike, that makes sense.
I'm not sure why that was happening, but setting properties on an Appearance inside a DrawFilter - or really setting any properties on anything in the grid - is something you should avoid.
Setting properties on the grid could invalidate the grid, which would cause it to repaint and call into the DrawFilter in an infinite loop. Your application was probably using up 100% of the CPU time and that might be why the tooltips didn't work.
I had the same issue with 9.1 and I had uninstalled and reinstalled with no change.
To be clear the error icons are showing, but the tooltips do not appear. When I run the sample version built locally I see the tool tips (CSharpSamplesExplorer).
In my project I was using a draw filter. The draw filter was setting row.Appearance.ForeColor directly, and when I commented out this code the tooltips worked again. I had to change my draw filter to modify the fore color through the drawParams.Appearance when the element is a TextUIElement with a CellUIElement context... that worked.
Why does setting row.Appearance.ForeColor in a draw filter disable tooltips for SupportDataErrorInfo feature?
Ah, okay. I just wanted to make sure I didn't give you the wrong impression. :)