Completed
Last Updated: 13 Feb 2018 07:35 by ADMIN
ADMIN
Andrey
Created on: 12 Jul 2012 01:58
Category: Gauge
Type: Bug Report
3
Gauge: Fix of exception which occurs when the Ranges property of scale is bound inside a user control
When the Ranges property of scale is bound inside a user control then it causes the "Object reference not set to an instance of an object" exception in the Telerik.Windows.Controls.Gauge.ScaleBase.OnApplyTemplate method.

As a workaround you can set the Ranges property to empty GaugeRangeCollection in your user control using the SetCurrentValue method which does not break the databinding. Also it will require to set the Ranges.ItemTemplate property after the scale is loaded.
0 comments