Problem using RadControls_for_Silverlight_2009_1_0413_TRIAL

6 posts, 1 answers
  1. Iurie Coroban
    Iurie Coroban avatar
    32 posts
    Member since:
    Jan 2004

    Posted 17 Apr 2009 Link to this post

    I reference following dlls to my project

    Telerik.Windows.Controls.Charting.dll
    Telerik.Windows.Controls.dll
    Telerik.Windows.Controls.Gauge.dll
    Telerik.Windows.Controls.GridView.dll
    Telerik.Windows.Data.dll

    from RadControls_for_Silverlight_2009_1_0413_TRIAL

    and on  page load appear an exception InvalidOerationException : TextBlock. Text does not support Binding as content.

    But I have no TextBlock element in my project, I use only gauge  and gridview control, what to do?
  2. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 21 Apr 2009 Link to this post

    Hello Iurie Coroban,

    Unfortunately based on the provided information we are unable to reproduce the problematic behavior in our local tests. We would suggest you to open a formal support ticket and send us a runnable version of the offending application so we can advise you properly how to proceed.


    Regards,
    Manuel
    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.
  3. Iurie Coroban
    Iurie Coroban avatar
    32 posts
    Member since:
    Jan 2004

    Posted 22 Apr 2009 Link to this post

    After several time updating chart data I receive following error:
    Microsoft JScript runtime error: Unhandled Error in Silverlight 2 Application TextBlock.Text does not support Binding as content. [Line: 1 Position: 485]

    --- Inner Exception ---

    Object reference not set to an instance of an object.

    at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)

    at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)

    at MS.Internal.XcpImports.Control_ApplyTemplate(Control control)

    at System.Windows.Controls.Control.ApplyTemplate()

    at Telerik.Windows.Controls.ItemsControlExtensions.GetItemsPanelRecursive(DependencyObject control)

    at Telerik.Windows.Controls.ItemsControlExtensions.GetItemsPanel(DependencyObject itemsControl)

    at Telerik.Windows.Controls.Charting.ChartArea.ForceSeriesMeasureOverride()

    at Telerik.Windows.Controls.Charting.AxisY.UpdateRangeAndStep()

    at Telerik.Windows.Controls.Charting.Axis.RangeChanged(DependencyObject target)

    at Telerik.Windows.Controls.Charting.AxisY.StepChangedCallback(DependencyObject target, DependencyPropertyChangedEventArgs e)

    at Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e)

    at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object newValue, Object oldValue)

    at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isSetByStyle, Boolean isSetByBuiltInStyle)

    at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value)

    at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)

    at Telerik.Windows.Controls.Charting.AxisY.set_Step(Double value)

    at Telerik.Windows.Controls.Charting.AxisY.BuildAxisData()

    at Telerik.Windows.Controls.Charting.AxisY2D.AxisSizeChanged(Object sender, SizeChangedEventArgs e)

    at System.Windows.SizeChangedEventHandler.Invoke(Object sender, SizeChangedEventArgs e)

    at System.Windows.FrameworkElement.OnSizeChanged(Object sender, SizeChangedEventArgs e)

    at MS.Internal.JoltHelper.RaiseEvent(IntPtr target, UInt32 eventId, IntPtr coreEventArgs, UInt32 eventArgsTypeIndex)

  4. Iurie Coroban
    Iurie Coroban avatar
    32 posts
    Member since:
    Jan 2004

    Posted 23 Apr 2009 Link to this post

    can it happen if I set to TickPoints[i].Label= String.Empty ?
  5. Iurie Coroban
    Iurie Coroban avatar
    32 posts
    Member since:
    Jan 2004

    Posted 23 Apr 2009 Link to this post

    Problem is in PieChart look at "Problem if PieChart contains only one DataPoint"
  6. Answer
    Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 27 Apr 2009 Link to this post

    Hello Iurie Coroban,

    We have addressed your inquiry in the other forum thread opened on the same topic.


    Regards,
    Manuel
    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