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
635
Validating events triggered when selecting another tab
posted

Hi

I'm using an UltraDockManager with several DockableControlPanes in a group. I also have validation on each form in my controls' Validating events.

The problem is that all the Validating events are triggered when I select another non-floating tab. If the validation fails, it displays a messagebox but it shows the new tab. More seriously the Validating events are run even when the controls are disabled.

1. I would like to trigger the Validating event only for the current control, not the others. 

2. If the validation fails, I want to cancel the selection of the new tab.

Thanks

John