Filter and Clear button tooltips

2 posts, 0 answers
  1. Sam
    Sam avatar
    18 posts
    Member since:
    Aug 2015

    Posted 15 Jun 2017 Link to this post

    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.

  2. Orlin
    Admin
    Orlin avatar
    62 posts

    Posted 19 Jun 2017 Link to this post

    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.
Back to Top