I have a forms containing a UltraPanel. The UltraPanel contains an UltraChart.When I call ultraPanel.Dispose() the error below is thrown.The chart is definately added to the panel's ClientArea.Controls in the designer and is the only control inside the panel.
System.InvalidOperationException: The Controls collection of the UltraPanel is read-only. Modify the UltraPanel.ClientArea.Controls collection instead.
at Infragistics.Win.Misc.UltraPanel.UltraPanelControlCollection.Remove(Control value)
at Infragistics.Win.UltraWinChart.IGWinTooltip.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Dispose(Boolean disposing)
at FarmMatters.Home.frmHome.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Close()
I have attached a sample including source that demonstrates the error.
Hello,
This has been addressed in service release versions WinForms_14.1.20141.2059, WinForms_13.2.20132.2075. At this time do you have any additional questions?