Lately, I switched from Tooltip to screentip on my grids because some cells were containing HTML.
I have an issue with some grids. I have a feature that disable the grid when a cell is double-clicked (to enable other controls in editing mode). My issue is that if the screentip is visible when I double-click, the screentip remains visible.
How to hide the screentip? Do you have an auto-close delay or some other mechanism?
4 Answers, 1 is accepted
Another similar issue where the screentip should hide.
I have a grid that is automatically refreshed on some events. If the screentip is shown because the mouse cursor hovers the grid, when the grid refreshes, the screentip remains on the screen and now shows incorrect data.
An auto-close delay (or something else) on the screentip would be really great.
Currently you can manually hide the screen tip with the following method:
radGridView1.Behavior.HideScreenTip();
I hope this will be useful. Let me know if you have additional questions.
Regards,
Dimitar
Progress Telerik
Easy enough to implement. Hard to find in the docs! (I may be a bad reader!)
Do you see any problems if I override the OnEnabledChanged and the OnRowsChanged events like this:
protected override void OnEnabledChanged(EventArgs e)
{
base.OnEnabledChanged(e);
Behavior.HideScreenTip();
}
protected override void OnRowsChanged(object sender, GridViewCollectionChangedEventArgs args)
{
base.OnRowsChanged(sender, args);
Behavior.HideScreenTip();
}
I do not see any reason not to use this approach. Do not hesitate to contact us if you have other questions.
Dimitar
Progress Telerik