{System.ArgumentException: Value does not fall within the expected range.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
at System.Windows.UIElement.UpdateLayout()
at Telerik.Windows.Controls.PopupWrapper.AdjustPopupLocation()
at Telerik.Windows.Controls.RadComboBox.AdjustPopupLocation()
at Telerik.Windows.Controls.RadComboBox.UpdateItemsVisibility(Boolean showAll, List`1 matchIndices)
at Telerik.Windows.Controls.RadComboBox.DropDownPopupOpened(Object sender, EventArgs 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)}
Its going to be a bit difficult to replicate this, so I'm hoping that based on the stack trace, I can get a hint as to what might be going on.
We have a series of combo boxes on a form. Selecting a value in 1 will filter the contents of another (or multiple).
Within one combo, if we select a value via drop down and click (combo closes), then try to to select another value, this exception occurs. This exception only occurs under the following scenario:
The combo box itemssource has changed between selections, and the combo box doesn't lose focus.
We are using the 8/21 internal build.
Consider it like this:
Food Categories - Changing a category, filters food choices.
Food Choices
Selecting a Food, changes the selected Food Category which in turns further filters Food. If you try to drop down the Food combo box a second time after its itemsource has been updated, this error occurs.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
at System.Windows.UIElement.UpdateLayout()
at Telerik.Windows.Controls.PopupWrapper.AdjustPopupLocation()
at Telerik.Windows.Controls.RadComboBox.AdjustPopupLocation()
at Telerik.Windows.Controls.RadComboBox.UpdateItemsVisibility(Boolean showAll, List`1 matchIndices)
at Telerik.Windows.Controls.RadComboBox.DropDownPopupOpened(Object sender, EventArgs 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)}
Its going to be a bit difficult to replicate this, so I'm hoping that based on the stack trace, I can get a hint as to what might be going on.
We have a series of combo boxes on a form. Selecting a value in 1 will filter the contents of another (or multiple).
Within one combo, if we select a value via drop down and click (combo closes), then try to to select another value, this exception occurs. This exception only occurs under the following scenario:
The combo box itemssource has changed between selections, and the combo box doesn't lose focus.
We are using the 8/21 internal build.
Consider it like this:
Food Categories - Changing a category, filters food choices.
Food Choices
Selecting a Food, changes the selected Food Category which in turns further filters Food. If you try to drop down the Food combo box a second time after its itemsource has been updated, this error occurs.