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

ToolTipService.ToolTip does not works on RadComboBox

9 Answers 328 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Frederic
Top achievements
Rank 1
Frederic asked on 22 Dec 2008, 09:55 PM

Hi,

This markup

<

telerikInput:RadComboBox Width="200" ToolTipService.ToolTip="test" >
</telerikInput:RadComboBox>

result in

"Unknow Attribut ToolTipService.ToolTip in element RadComboBox. [Line: 15 Position: 88]"
(Translated from french)

Thanks

 

9 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 23 Dec 2008, 10:12 AM
Hi Frederic,

The ToolTipService.ToolTip is an attached property. You have to add the assembly like this:
xmlns:ms="clr-namespace:System.Windows.Controls;assembly=System.Windows"

and then in your code use the ToolTipService like this:

<telerikInput:RadComboBox Width="200"  ms:ToolTipService.ToolTip="test" >
</telerikInput:RadComboBox>


This should help.



Sincerely yours,
Boyan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Frederic
Top achievements
Rank 1
answered on 23 Dec 2008, 01:23 PM
Hi Boyan,

 

 

Thanks, it works now.

I did not think of that at first because I had a button with the tooltip service along side the radComBox.

I guest it works for the button because it is part a the System.Windows.Controls namespace too?
 

 

Thanks again

Fred 

 

 

0
Boyan
Telerik team
answered on 26 Dec 2008, 09:06 AM
Hello Frederic,

Yes, exactly. I am glad that helped if you have further questions, feel free to ask.

Kind regards,
Boyan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
James
Top achievements
Rank 1
answered on 12 Jan 2010, 05:22 PM
Hi Boyan,

I am using RadComboBox and setting Tooltip from code at run time.
By, TooltipService.SetTooltip(radComboBox1, "Hello");

When i execute, RadComboBox doesnt have tooltip.
Instead it throws following exception in output window:

System.Windows.Data Error: Failed to connect to index '0' in object 'System.Collections.ObjectModel.ReadOnlyObservableCollection`1[System.Windows.Controls.ValidationError]' (type 'System.Collections.ObjectModel.ReadOnlyObservableCollection`1[System.Windows.Controls.ValidationError]'). BindingExpression: Path='(Validation.Errors)[0].ErrorContent' DataItem='Telerik.Windows.Controls.RadComboBox' (HashCode=31998529); target element is 'System.Windows.Controls.TextBlock' (Name=''); target property is 'Text' (type 'System.String').

I have tooltip on another control(Hyperlink), which works fine.

is it bug in RadComboBox?

Cheers,
James

0
Konstantina
Telerik team
answered on 13 Jan 2010, 05:08 PM
Hi James,

Straight to your question.

Attached you will find a sample running project which contains RadComboBox and a HyperlinkButton each with tooltips. Please try it out and if you still experience problems you can send us a running project which we can test here locally.

If you have further questions please feel free to contact us again.

All the best,
Konstantina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Hrushikesh
Top achievements
Rank 1
answered on 10 May 2011, 08:08 PM
What if there is no code behind? How to Bind it. Also can i show tooltip for the list items?

Thank you
Hrushikesh Patel
0
Yana
Telerik team
answered on 13 May 2011, 01:12 PM
Hi Hrushikesh,

There should be no problem to bind the tooltip in the xaml like this:

<telerik:RadComboBox ToolTipService.ToolTip="{Binding ComboBoxToolTip}" ></telerik:RadComboBox>

You can find attached a simple example.

Greetings,
Yana
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
Arun
Top achievements
Rank 1
answered on 10 Jun 2014, 11:57 AM
Hi ,
When radCombo is disabled , tooltip service does't work. Any one had this problem ? . do you have any solution for this issue ?
0
Yana
Telerik team
answered on 11 Jun 2014, 10:10 AM
Hello Arun,

Actually this is expected behavior - the tooltip is not supposed to be shown on disabled controls. The same can be observed with the Silverlight ComboBox as well.

Regards,
Yana
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
ComboBox
Asked by
Frederic
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Frederic
Top achievements
Rank 1
James
Top achievements
Rank 1
Konstantina
Telerik team
Hrushikesh
Top achievements
Rank 1
Yana
Telerik team
Arun
Top achievements
Rank 1
Share this question
or