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

ComboBox selectionChanged error

8 Answers 79 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ghayth Hilal
Top achievements
Rank 1
Ghayth Hilal asked on 19 Aug 2010, 03:25 AM
After upgrading to RadControls for Silverlight Q2 2010 SP1 from RadControls for Silverlight Q1 2010
I started recieving the error listed below whenever I change the selection of the combobox.

Any Idea of what might cause that error ?

Thank you

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E)
Timestamp: Wed, 18 Aug 2010 20:13:40 UTC

Message: Unhandled Error in Silverlight Application
Code: 4004   

Category: ManagedRuntimeError      

Message: System.InvalidCastException: Unable to cast object of type 'Telerik.Windows.Controls.RadComboBoxAutomationPeer' to type 'System.Windows.Automation.Peers.SelectorAutomationPeer'.
   at Telerik.Windows.Controls.ListBoxItem.OnCreateAutomationPeer()
   at System.Windows.Automation.Peers.FrameworkElementAutomationPeer.CreatePeerForElement(UIElement element)
   at System.Windows.Automation.Peers.ItemsControlAutomationPeer.CreatePeerForIndex(Object item, Int32 index)
   at System.Windows.Automation.Peers.ItemsControlAutomationPeer.GetChildrenCore()
   at Telerik.Windows.Controls.Automation.Peers.SelectorAutomationPeer.GetChildrenCore()
   at Telerik.Windows.Controls.RadComboBoxAutomationPeer.GetChildrenCore()
   at System.Windows.Automation.Peers.AutomationPeer.GetChildren()
   at Telerik.Windows.Controls.Automation.Peers.SelectorAutomationPeer.RaiseSelectionEvents(SelectionChangedEventArgs e)
   at Telerik.Windows.Controls.RadComboBox.OnSelectionChanged(SelectionChangedEventArgs e)
   at Telerik.Windows.Controls.RadComboBox.SelectItemDelayedSelectionChanged(Object item)
   at Telerik.Windows.Controls.RadComboBox.NotifyComboBoxItemMouseUp(RadComboBoxItem comboBoxItem)
   at Telerik.Windows.Controls.RadComboBoxItem.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)    

Line: 54
Char: 13
Code: 0

8 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 19 Aug 2010, 11:56 AM
Hello Ghayth Hilal,

We are aware of this problem with RadComboBox. We start researching and investigating the cause for this issue and we will fix it in one of our future releases. You can track this progress in our Public Issue Tracking System (PITS) with Issue ID = 3146.

Sorry for any inconvenience caused. Please do not hesitate to contact us if you require any further information.

Regards,
George
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
0
Mr
Top achievements
Rank 1
answered on 15 Sep 2010, 05:07 AM
Hello Ghayth Hilal and Telerik Team
I'm using RadControls version 2010.2.812.1040. for SL Q2 2010, i recieving the error when i change the selection of the combobox or change value of textbox. Fortuity, I remove "Internet download Manager v 5.18" from my computer, this error disappear. I think it's one of some reason for this error. 
OS: Window 7 64bit

Best regrads
 
0
Rakib .
Top achievements
Rank 1
answered on 27 Sep 2010, 07:10 AM
Hello,

I am getting same error. Any update on this?

Thanks
0
George
Telerik team
answered on 30 Sep 2010, 07:22 AM
Hi Rakib,

This issue is fixed in our latest internal build. Could you please download and try it. Let us know if you still have any problems with RadComboBox control.

Regards,
George
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
0
Rakib .
Top achievements
Rank 1
answered on 30 Sep 2010, 08:26 AM
Hi George,

I downloaded SP2 release and its ok now.

Thanks
0
Jonathan
Top achievements
Rank 1
Veteran
answered on 12 Jul 2018, 06:01 PM

Hi..

I'm getting the same error on an OLD WPF program. Only  1 out of 5 users gets the error.  ????

Is it a .Net version issue?

Where can I get the fix - the  2010.2.81 version only. I tried updating my program to the current controls - 2018 .. but requires full rewrites of portions of the code.  

thx in advance

0
Martin Ivanov
Telerik team
answered on 13 Jul 2018, 05:59 AM
Hello Jonathan,

I would strongly encourage you to upgrade to the latest version for UI for WPF. This way you will take advantage of the newest features, performance optimizations and bug fixes.

If you insist using the 2010 version I would recommend you to open a new support ticket from your telerik.com account and send a runnable project that demonstrates the issue.

Regards,
Martin Ivanov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Jonathan
Top achievements
Rank 1
Veteran
answered on 13 Jul 2018, 10:32 AM

Hi..

I tried upgrading.. too many changes need to be made to accommodate the newer versions. The upgrade broke the program. Don't have the time to rewrite portions - especially those using the Scheduler.  I will open a support ticket - just need this fix.

thx

Tags
ComboBox
Asked by
Ghayth Hilal
Top achievements
Rank 1
Answers by
George
Telerik team
Mr
Top achievements
Rank 1
Rakib .
Top achievements
Rank 1
Jonathan
Top achievements
Rank 1
Veteran
Martin Ivanov
Telerik team
Share this question
or