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

How to disable Tooltips

3 Answers 171 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Christoph
Top achievements
Rank 1
Christoph asked on 25 Oct 2010, 01:20 PM
Dear Telerik Support,

I am working with your MVC extensions and discovered a problem. When the Telerik controls are hovered (e.g. Telerik().IntegerTextBoxFor), a tooltip appears. This tooltip shows the name of the control. In my case, the names of my controls are the view model properties. I do not want to show that. I also use controls from Html namepsace and they do not show a tooltip.

Is there a way to disabel or to set the tooltip text of your controls (also the DatePicker control)?

Kind regards,

Christoph

3 Answers, 1 is accepted

Sort by
0
Christoph
Top achievements
Rank 1
answered on 25 Oct 2010, 01:44 PM
Dear Telerik Support,

I have discovered, that I was wrong. The problem is not the tooltip at the TextBox controls (because there seem to be non) but at the DatePicker control and the DropDownList controls. There, the view model property name is shown.

The tooltip text at the DatePicker is easy to disable by setting the title like this:

.InputHtmlAttributes(new { Title = "" } )

But this does not work for the DropDownList. When I set

.DropDownHtmlAttributes(new { Title = "" })

only the small area at the drop down button on the right edge does not show the text. When I hover over the drop down entry, the view model property name is shown up again. I have tried to set

.HtmlAttributes(new { Title = "" })

but this did not work. The property name is still shown. Can you help me out?

Kind regards,

Christoph
0
Hristo Germanov
Telerik team
answered on 25 Oct 2010, 02:48 PM
Hi Christoph,

Title attribute for all inputs are removed and this will be included in the next official release of Telerik Components for ASP.NET MVC scheduled for the end of the weak.
I can't repruduce this issue with DropDownList and title:

.HtmlAttributes(new { style = Title="" })
This works for me.

Could you send me picture or video reproducing the issue, this will help me a lot.

All the best,
Hristo Germanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Christoph
Top achievements
Rank 1
answered on 25 Oct 2010, 03:03 PM
Dear Hristo,

thanks for your quick answer. I have followed your code syntax and this worked perfectly.

The mistake was: I wrote .HtmlAttribute(new { Title = "" }) but it had to be like this: .HtmlAttribute(new { Style = "Title='';" })

Thank you very much!

Christoph



Tags
NumericTextBox
Asked by
Christoph
Top achievements
Rank 1
Answers by
Christoph
Top achievements
Rank 1
Hristo Germanov
Telerik team
Share this question
or