Problems with Tooltip

3 posts, 0 answers
  1. ManniAT
    ManniAT avatar
    885 posts
    Member since:
    Nov 2003

    Posted 17 Apr 2009 Link to this post


    today I uploaded a sample about the Gauge to the Code library - so I guess you have access to the code.
    My problem belongs to the tooltip - maybe I'm missing something.
    Here is a video about the problem
    You can find the code in Page.xaml.cs - it's in the pC_GetPerfInfoCompleted handler.

    The video is a bit short on the end - so here some extra information.
    I get this "Object ref not set to..." error message.
    After closing it the tooltips work fine - even when I update data the display the new values and so on.

    All I do to enable tooltips is setting the tooltip format like this

    gauge_markerCPU.TooltipFormat = "CPU usage {0:F2} %"

    And in the samples I see you do nothing more than this.
    Anyhow - maybe I am  missing something?

    By the way - for the curious people (while project is under screening) here is the "documentation" about it:!82CF2A6C0D0C6F3C!172.entry?_c=BlogPart


  2. ManniAT
    ManniAT avatar
    885 posts
    Member since:
    Nov 2003

    Posted 17 Apr 2009 Link to this post

    Follow up: I decide to see how easy it is to migrate the thing to WPF.
    I did it (also uploaded to Code Library) - and just to give it a try I enabled the tooltips there.
    And they run - without any problem!!


  3. Andrey
    Andrey avatar
    1681 posts

    Posted 20 Apr 2009 Link to this post

    Hi Manfred,

    Thank you for the information. The class which throws this exception is the standard System.Windows.Controls.ToolTipService class from Silverlight. It is a well known bug in the Silverlight. We’ve found a solution and work around for some situations, but it looks like not for all. We will check how we can fix this problem for linear scale.

    Sincerely yours,
    Andrey Murzov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top