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

Problems with TabControl after updating to version 2010.1.412.1040

1 Answer 64 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Adriano asked on 15 Apr 2010, 05:33 PM
We are working on a Silverlight 4 RC project using your controls, Today, after updating to the 2010.1.412.1040 version, we are facing with this strange behaviour. Each time the user changes the active tab item, your code trigger this blocking exception:

Error HRESULT E_FAIL has been returned from a call to a COM  component.

Error details:
  at MS.Internal.XcpImports.VisualStateManager_GoToState(Control reference, String StateName, Boolean useTransitions, Boolean& refreshInheritanceContext)
   at System.Windows.VisualStateManager.GoToState(Control control, String stateName, Boolean useTransitions)
   at Telerik.Windows.Controls.RadTabItem.GoToState(Boolean useTransitions, String[] stateNames)
   at Telerik.Windows.Controls.RadTabItem.ChangeVisualState(Boolean useTransitions)
   at Telerik.Windows.Controls.HeaderedContentControl.ChangeVisualState()
   at Telerik.Windows.Controls.RadTabItem.OnIsSelectedChanged(Boolean oldValue, Boolean newValue)
   at Telerik.Windows.Controls.RadTabItem.OnIsSelectedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
   at Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
   at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Telerik.Windows.Controls.RadTabItem.set_IsSelected(Boolean value)
   at Telerik.Windows.Controls.RadTabItem.OnHeaderMouseLeftButtonDown(Object sender, MouseButtonEventArgs e)
   at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

What could we do to solve this blocking problem?

Thank you

1 Answer, 1 is accepted

Sort by
Miro Miroslavov
Telerik team
answered on 20 Apr 2010, 11:27 AM
Hi Adriano,

We can't reproduce this issue with official release of Silverlight 4. Can you please update your Silverlight tools and check if the problem still exists. If you still get this error, it'll be very helpful you send us example project showing the issue.
Thank you.

Best wishes,
Miro Miroslavov
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.
Asked by
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Share this question