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
425
How to stop DockManager validate all controls
posted

Hi all

From my stack trace, I see when a dock pane group with another dock panel, it validates all its controls, and causes all it controls' validation icon blink.

How could I stop this happening? 

I tried causeValidation property = false at both pane, and dockmanager, both doesnt work. IMO, it was the ValidateThroughAncestor caused the problem. But I could not find references to this problem from internet. Please help.

Regards

Bryan

System.exe!Company.System.UI.Order.InputOrderControl.cboAccount_Validating(object sender = {Text = ""}, System.ComponentModel.CancelEventArgs e = {System.ComponentModel.CancelEventArgs}) Line 521    C#
     System.Windows.Forms.dll!System.Windows.Forms.Control.OnValidating(System.ComponentModel.CancelEventArgs e) + 0x7a bytes   
     System.Windows.Forms.dll!System.Windows.Forms.Control.NotifyValidating() + 0x27 bytes   
     System.Windows.Forms.dll!System.Windows.Forms.Control.PerformControlValidation(bool bulkValidation = false) + 0x34 bytes   
     System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.ValidateThroughAncestor(System.Windows.Forms.Control ancestorControl = {Company.System.UI.X5CCMainForm, Text:System}, bool preventFocusChangeOnError = true) + 0x228 bytes   
     System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.EnterValidation(System.Windows.Forms.Control enterControl) + 0x7c bytes   
     System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.UpdateFocusedControl() + 0x8a bytes   
     System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.AssignActiveControlInternal(System.Windows.Forms.Control value = {Company.System.UI.Order.InputManualOrderControl}) + 0x54 bytes   
     System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.ActivateControlInternal(System.Windows.Forms.Control control, bool originator = false) + 0x76 bytes   
     System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.SetActiveControlInternal(System.Windows.Forms.Control value = {Company.System.UI.Order.InputManualOrderControl}) + 0x73 bytes   
     System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.SetActiveControl(System.Windows.Forms.Control ctl) + 0x33 bytes   
     System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.ActiveControl.set(System.Windows.Forms.Control value) + 0x5 bytes   
     Infragistics2.Win.UltraWinDock.v10.1.dll!Infragistics.Win.UltraWinDock.Utilities.SetActiveControl(System.Windows.Forms.IContainerControl container, System.Windows.Forms.Control activeControl) + 0x14 bytes   
     Infragistics2.Win.UltraWinDock.v10.1.dll!Infragistics.Win.UltraWinDock.UltraDockManager.ActivatePane(Infragistics.Win.UltraWinDock.DockableControlPane pane = {DockableControlPane (InputManualOrderControl) - ORDER003}, bool force) + 0x1e7 bytes   
     Infragistics2.Win.UltraWinDock.v10.1.dll!Infragistics.Win.UltraWinDock.DockableControlPane.Activate() + 0x1b bytes

 

Parents Reply Children
No Data