This project has moved. For the latest updates, please go here.
3
Vote

Accordian throw exception on resize

description

Hi,

I have an accordion inside a resizeable container that throws an exception when is being resized.
Here is the exception details:

Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]
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_GetImplementationRoot(Control control)
at System.Windows.VisualStateManager.GoToState(Control control, String stateName, Boolean useTransitions)
at System.Windows.Controls.AccordionItem.b__2()
at System.Windows.Controls.AccordionItem.StartAction()
at System.Windows.Controls.AccordionItem.Schedule(AccordionAction action)
at System.Windows.Controls.AccordionItem.OnContentTargetSizePropertyChanged(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, Boolean isBindingInStyleSetter)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.Controls.AccordionItem.set_ContentTargetSize(Size value)
at System.Windows.Controls.Accordion.LayoutChildren()
at System.Windows.Controls.Accordion.OnHeaderSizeChange(AccordionItem item)
at System.Windows.Controls.AccordionItem.OnHeaderSizeChanged(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)

Thanks,
Pedro

comments

ParitoshSoni wrote Sep 24, 2014 at 11:19 AM

Any solution for this?
I am also getting the same issue.