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

Quick method to disable Tooltips in code behind?

1 Answer 60 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Rob A.
Top achievements
Rank 2
Iron
Iron
Veteran
Rob A. asked on 27 Nov 2020, 02:57 AM

I'm looking for a quick way to enabled/disable tooltips application wide (globally).  I realize I can do the following on EVERY single control:

RadToolTipService.SetIsEnabled(Me.bnSettings, False)

 

repeat for each control in my application, however, I was hoping there was an easy way to enable/disable all tooltips in my application?

 

Cheers, Rob.

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 01 Dec 2020, 11:15 AM

Hello Rob,

There is no built-in API that allows disabling all tooltips at once. You will need to do it one by one using the IsEnabled property. If you want to make this a bit more easily maintainable, you can data bind the RadToolTipService.IsEnabled property of all controls using the Telerik tooltip, to a single boolean property. You can find this approach in the attached project. I hope it helps.

Regards,
Martin Ivanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ToolTip
Asked by
Rob A.
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Martin Ivanov
Telerik team
Share this question
or