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

Bug when bound to ObservableCollection

3 Answers 83 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Craig Dean
Top achievements
Rank 1
Craig Dean asked on 29 Jan 2010, 11:25 PM
When bound to an observable collection, and once the collection has been modified programattically, the RadComboBox crashes when selecting an item in it (even if currently selected item...).  This does not happen with swapped with standard SilverLight ComboBox.

{System.Exception: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_SetStyleValue(FrameworkElement dohDependencyProperty propertyPropertyInvalidationReason reason)
at System.Windows.DependencyObject.ClearValueInternal(DependencyProperty dp)
at System.Windows.DependencyObject.ClearValue(DependencyProperty dp)
at Telerik.Windows.Controls.RadComboBox.Close()
at Telerik.Windows.Controls.RadComboBox.NotifyComboBoxItemMouseUp(RadComboBoxItem comboBoxItem)
at Telerik.Windows.Controls.RadComboBoxItem.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrlEventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObjIntPtr unmanagedObjArgsInt32 argsTypeIndexString eventName)}

3 Answers, 1 is accepted

Sort by
0
Craig Dean
Top achievements
Rank 1
answered on 30 Jan 2010, 12:35 AM
OK,

Being getting loads of weird bugs in Telerik controls, turns out that I was changing the ApplicationTheme after some controls rendered, most of the contros die horribly if you change the theme once they're rendered.

Absolutely impossible to trace, very lucky to figure it out!
0
Valeri Hristov
Telerik team
answered on 02 Feb 2010, 12:24 PM
Hello Craig,

How do you change the application theme? I wasn't able to reproduce the problem with a simple application.

Regards,
Valeri Hristov
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Sriram
Top achievements
Rank 2
answered on 08 Feb 2010, 03:08 PM
go through Demos and Change the Application Theme.
http://demos.telerik.com/silverlight/
There is a sample code available in telerik quickstarts
Tags
ComboBox
Asked by
Craig Dean
Top achievements
Rank 1
Answers by
Craig Dean
Top achievements
Rank 1
Valeri Hristov
Telerik team
Sriram
Top achievements
Rank 2
Share this question
or