ToolTipService.ToolTip does not works on RadComboBox

10 posts, 0 answers
  1. Frederic
    Frederic avatar
    5 posts
    Member since:
    Nov 2008

    Posted 22 Dec 2008 Link to this post

    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

     

  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 23 Dec 2008 Link to this post

    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.
  3. DevCraft banner
  4. Frederic
    Frederic avatar
    5 posts
    Member since:
    Nov 2008

    Posted 23 Dec 2008 Link to this post

    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 

     

     

  5. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 26 Dec 2008 Link to this post

    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.
  6. James
    James avatar
    26 posts
    Member since:
    Oct 2008

    Posted 12 Jan 2010 Link to this post

    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

  7. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 13 Jan 2010 Link to this post

    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.
  8. Hrushikesh
    Hrushikesh avatar
    33 posts
    Member since:
    Sep 2010

    Posted 10 May 2011 Link to this post

    What if there is no code behind? How to Bind it. Also can i show tooltip for the list items?

    Thank you
    Hrushikesh Patel
  9. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 13 May 2011 Link to this post

    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
  10. Arun
    Arun avatar
    3 posts
    Member since:
    Aug 2013

    Posted 10 Jun 2014 Link to this post

    Hi ,
    When radCombo is disabled , tooltip service does't work. Any one had this problem ? . do you have any solution for this issue ?
  11. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 11 Jun 2014 Link to this post

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