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?
Thank you for reporting this. I have reproduced this as well with my own sample.
I have opened a private case for you so that I can link it to an internal development issue. This way you will be notified automatically when the dev issue is updated. The case number isCAS-138386-G6J4X3. You will see it located here: https://es.infragistics.com/my-account/support-activity
Let me know if you have any questions regarding this matter.