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
775
Error Provider tool tip text appears once when hovering and then doesn't appear again
posted

Hi,

I'm using the error provider in a wingrid and also on a form with some databound controls. Everything works great when I have an error condition. The error provider icon shows up and when you hover the cursor over the icon my error message text displays in a tool tip. The issue I'm having is that when I move the cursor away from the icon and then try to hover over the icon again, the tool tip does not re-display.

I'm using the following methods to add the error provider notification to the appropriate rows and columns:

AddColumnErrorMessageAndNotify

AddRowErrorMessageAndNotify

 

What could be causing the tool tip text to not re-display when hovering over the icon again? How can I go about fixing this issue?

Thanks,

Steve

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Steve,

    I'm a little unclear on what you are doing. Are you saying you are using hte ErrorProvider component in DotNet? If that's the case, then how are you displaying an error in a cell? The ErrorProvider works with a control, it has no concept of individual cells or parts of a control.

    My guess is that the ErrorProvider bases it's mouse messages on the control it's linked to. So the tooltip will only display again if you mouse the mouse outside of the entire grid (not just outside the particular cell) and then back into the grid. This is the only way in which the MouseHover event of any control will fire because as long as the mouse is still within the control, the first hover operation has not yet ended.

Children
No Data