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

Filter and Clear button tooltips

1 Answer 306 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 15 Jun 2017, 09:00 PM

If you look at the filters on http://demos.telerik.com/aspnet-mvc/grid/filter-menu-customization you will see the attached image. The text at the top of the filter popup says "Show items with value that:" This string's contents can be changed with:

.Messages(m => m.Info("my text"))

and that works as expected. What I can't understand is why the Filter button shows the same text as a tool tip if you hover on it. Worse yet, the Clear button shows the exact same text, which makes no sense. Hover on the Filter and Clear buttons on that page and you will see what I'm talking about.

Is there a way to set the text at the top of the popup without also setting the Filter and Clear button tool tips?

Or is there a way to set the tool tips to say something else?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Orlin
Telerik team
answered on 19 Jun 2017, 06:54 AM
Hello Sam,

The tooltip in question is the title HTML attribute set to the form of the filter menu. The reason you are seeing it is because the Filter and the Clear buttons do not have their own title attribute set and they are displaying the parent form element’s title. You can easily remove the tooltip from the buttons by setting the title attribute to an empty string using jQuery or vanilla Javascript.

I hope that helps.


Regards,
Orlin
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Sam
Top achievements
Rank 1
Answers by
Orlin
Telerik team
Share this question
or