ICancelAddNew.EndNew called on existing row?ICancelAddNew.EndNew called on existing row?
Old forum URL: forums.lhotka.net/forums/t/1578.aspx
ajj3085 posted on Tuesday, October 24, 2006
HI,
I've implemented a wrapper view class around a tree collection to make it appear as a flat collection.
I recently changed the implementation for the ICancelAddNew interface members to throw NotSupportedExceptions, because the grid doesn't support adding new rows via AddNew.
The problem is when I click on ANY row, the exception is being thrown and the grid complains that it can't update the row.
The grid is the Infragistics grid.
Update: It seems this only happens in release mode? I'll check further..
Any ideas?
Thanks
Andy
ajj3085 replied on Tuesday, October 24, 2006
Well, the solution was simple; don't implement the interface!
Andy
Copyright (c) Marimer LLC