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
835
Cannot access a disposed object. Object name: 'Infragistics.Win.UltraWinGrid.UltraGridCell'.
posted

Hi,

I am getting the error message as "Cannot access a disposed object.
Object name: 'Infragistics.Win.UltraWinGrid.UltraGridCell'.".

the line of code generating such error is

this.CustomerMarkUpGrid.Rows[i].Cells["IsDefault"].Value = true.

Interesting issue is that when ever i try to assign false instead of true there is no any error message. error occurs only when i try to assign true.

I tried to catch this error in CellDataError event of grid, but unfortunately CellDataError event of grid is not fired.