Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
659
Application hangs on switching tabs because of validation
posted

Hi all,

this is occurring on Version 2008.3:

I have a UserControl containing a TextBox in a Panel wich is docked together with other Panes in a TabGroup.

The TextBox has a Validating event where I display a MessageBox if the text is wrong. After entering a Text which is not validated and clicking on another tab, the MessageBox is shown and then the application hangs. I attach a simple demo project.

Does anybody have an idea how can I avoid this?

Thanks,

Anca

DockManagerAndValidation.zip