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
Hello,
This seems to be an issue which has already been fixed. So what you could do is to download the latest service release available for your current version or either download the trial version of Net Advantage 11.2 and test your application against it.
that old issue describes my heavy problem using Infragistics 14.2. And for me it is fatal, because clicking on a different tab causes some unwantet action for different child controls.
Using Resharper I could find code at least in DockablePaneBase.SelectedTabPane.Set, that is calling ContainerControl.ValidateChildren() for the DockableGroupPane.selectedTab.ContainingControl. It must not be ValidateChildren but only Validate for the single focused control.
Is there any solution (Infragistics update?) or workaround or setting?
Kind regards
Olaf
My calling stack is:
i have a similar problem with 11.2.20112.2050 (newest version)
I got a dock area docked at bottom with 1 pane and 1 pane group with 5 panes.
selecting any tab in the pane group will validate the other pane (not within the group) 3 times...
Setting CausesValidation (on the controls) to false does not help at all.
please help
Blue