Hi,
I'm using NetAdvantage for Winform 12.1 for .NET 4, and now I'm working with UltraToolbarManager.
Our team designed our application to handle all handled exception at AppDomain.UnhandledException Handler, to deal with error log at one location.
So use Application.SetUnhandledExceptionMode and handle all exceptions like following code;
AppDomain.CurrentDomain.UnhandledException += (sender, args) => { var ex = args.ExceptionObject as Exception; MessageBox.Show("Nice Catch in Unhandled Exception!\n" + ex.Message); }; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException);
Everything goes fine, except UltraToolbarManager...
When click menus, it's OK. Unhandled Exception occurs.However, if I click toolbar button, ThreadException occurs and ,that's all. No UnhandledException fired.
Is it design ? Are there any ways to change this behavior ?
Hello Hiroshi,
Could you please provide us with project sample and steps to reproduce your issue ?
Also as you probaly know WindowsForms controls are not thread save. Could you please check the provided links below and see if they will help you :
http://ko.infragistics.com/community/forums/p/28153/109410.aspx
http://ko.infragistics.com/community/forums/t/66744.aspx
Please do not hesitate to contact us if you have any questions with this matter.