We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Chart is Disposed

Hi, Firstly, your products and support are great. Secondly, I am having a problem at the moment with a Chart. I have a collection of objects, each with their own User Control. The User Control has an Essential Chart on it. A Generic Form will ask the Object for its User Control which is returned by the object. All is well here. The problem is that if I remove the object and create a new one, on the EndUpdate command of the chart control it throws an exception "Cannot access diposed object ChartControl". I am making a new Chart Control each time (obviously) and can''t see what is going wrong. Thanks Jarrod Lloyd

2 Replies

JL Jarrod Lloyd August 31, 2004 05:02 PM

Oh and by the way, this doesn''t occur with other controls on the page, only the chart control. >Hi, > >Firstly, your products and support are great. > >Secondly, I am having a problem at the moment with a Chart. I have a collection of objects, each with their own User Control. The User Control has an Essential Chart on it. A Generic Form will ask the Object for its User Control which is returned by the object. All is well here. > >The problem is that if I remove the object and create a new one, on the EndUpdate command of the chart control it throws an exception "Cannot access diposed object ChartControl". I am making a new Chart Control each time (obviously) and can''t see what is going wrong. > >Thanks > >Jarrod Lloyd


DJ Daniel Jebaraj Syncfusion Team September 1, 2004 10:11 PM

Hi Jarrod, Thank you for your kind words. Can you send us a small sample that illustrates this behavior? Best regards, Daniel

Loader.
Live Chat Icon For mobile
Up arrow icon