This is a migrated thread and some comments may be shown as answers.

Screentip - How to hide?

4 Answers 52 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Eric Moreau
Top achievements
Rank 2
Iron
Veteran
Iron
Eric Moreau asked on 15 May 2019, 01:43 PM

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

Sort by
0
Eric Moreau
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 15 May 2019, 02:07 PM

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.

0
Accepted
Dimitar
Telerik team
answered on 16 May 2019, 07:56 AM
Hi Eric,

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
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Eric Moreau
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 16 May 2019, 12:46 PM

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();
        }

0
Dimitar
Telerik team
answered on 17 May 2019, 10:17 AM
Hi Eric,

I do not see any reason not to use this approach. Do not hesitate to contact us if you have other questions.
 
Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Eric Moreau
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Eric Moreau
Top achievements
Rank 2
Iron
Veteran
Iron
Dimitar
Telerik team
Share this question
or