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

Problems with Tooltip

2 Answers 38 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
ManniAT
Top achievements
Rank 2
ManniAT asked on 17 Apr 2009, 08:26 PM
Hi,

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 http://www.pp-p.com/sfiles/gbug.html
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:
http://manni-at.spaces.live.com/blog/cns!82CF2A6C0D0C6F3C!172.entry?_c=BlogPart

Regards

Manfred

2 Answers, 1 is accepted

Sort by
0
ManniAT
Top achievements
Rank 2
answered on 17 Apr 2009, 10:19 PM
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!!

Regards

Manfred
0
Andrey
Telerik team
answered on 20 Apr 2009, 12:37 PM
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.
Tags
Gauge
Asked by
ManniAT
Top achievements
Rank 2
Answers by
ManniAT
Top achievements
Rank 2
Andrey
Telerik team
Share this question
or