I just recent updated to the lastest service 2011.2.2242
After the updated, I keep getting this error "Width and Height must be non-negative" when I close the XamDialogWindow dialogbox
System.ArgumentException was unhandled by user code
Message=Width and Height must be non-negative. Source=WindowsBase StackTrace: at System.Windows.Size..ctor(Double width, Double height) at Infragistics.Controls.Menus.Primitives.NodesPanel.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.UIElement.UpdateLayout() at System.Windows.Interop.HwndSource.SetLayoutSize() at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value) at System.Windows.Interop.HwndSource.set_RootVisual(Visual value) at System.Windows.Window.SourceWindowHelper.set_RootVisual(Visual value) at System.Windows.Window.SetRootVisual() at System.Windows.Window.SetRootVisualAndUpdateSTC() at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight) at System.Windows.Window.CreateSourceWindow(Boolean duringShow) at System.Windows.Window.CreateSourceWindowDuringShow() at System.Windows.Window.SafeCreateWindowDuringShow() at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Window.Show() at LI.App.AppDispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) at System.Windows.Threading.Dispatcher.CatchException(Exception e) at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e) at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) InnerException:
As soon as it hit close(), i got this error
any help would be nice Thanks
Hello,
I have been looking into your issue and I have not been able to reproduce it. I have created a sample application(DialogWindow2011.2.2242.zip) in order to test it. Would you please modify it or attach your own application? Also please tell me the version of the Visual Studio that you are using and the version of the Operation System.
Looking forward to hearing from you.
For some reason i lost access to the account and I tried 3 time to reset my password but for some reason it did not send me a email
i attached Error.xaml with how we used the dialogwindow.
but now i am seeing more error now. Did this release make any changes to the measureOverride
Infragistics.Controls.Menus.Primitives.NodesPanel.MeasureOverride(Size availableSize)
Thanks
Thank you for your feedback. I have been looking into the provided XAML code. I have tried to run it but your issue does not appear because I haven’t the code in the events’ body. Would you please attach the runnable sample application with the same XAML in order to reproduce your issue and provide you with more accurate assistance?
Thanks Yanko,
I can confirm that this issue has been addressed in Version 12.1.20121.2169
Hi,
The Service Release is already out. You can download it from our website -> Account -> Select the product -> Select ‘Service Release’ tab.
Thank you for your patience.
Hi Yanko,
Any news on when this is fixed?
Regarding the issue with your previous account, would you please tell me what exactly prevents you to enter in the account ?
If you have forgot the password, you can look into our FAQs in the ‘New Account Registration and Account Management’ section :
http://es.infragistics.com/help/FAQs/
Hi Alan,
This issue is fixed and it will be available in our upcoming public service release in the end of the month :
http://es.infragistics.com/help/service-releases/
If you need any other questions on this matter, feel free to ask.