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
840
Tooltips getting screwed up on DataSource rebind
posted

I even created a demo app to demonstrate.  We're setting some tooltips on a field in the CellValuePresenter using a Template.

After rebinding the grid (setting the DataSource to a new list) the tooltips go into a strange, non-deterministic state.

Even in this simple example you can see the tooltips for the Description field get mixed up in the right grid after clicking on a few rows in the left grid.  (try it a few times and you'll see it)

This is a pretty critical issue for us.  Need help as soon as possible.

DemoApp.zip
Parents
No Data
Reply
  • 17475
    Offline posted

    Hello,

    I have investigated this issue using your demo app and I was able to reproduce the behavior you have described. When I hovered over the description field, FormatException is thrown in the output. After removing the tooltip visibility I was not able to reproduce this issue anymore and the text in the tooltip was the same as the text in the cell. It seems that the reason for this behavior is that you try to bind the Visibility property of the tooltip which is of type Visibility to the DataItem.Description which is of type string. I could suggest you bind the Visibility to source that is of the same type, use converter or does not use the Visibility at all if you do not need it.

    Please feel free to let me know if you have any other questions or concerns on the matter.

Children