Home › Forums › WinForms controls › Xceed Grid for WinForms › Canceling in EnteringEdit causes crash › Reply To: Canceling in EnteringEdit causes crash
Ah-ha!
I was wiring up the call to cell_EnterEdit twice:
row.Cells[ “Item” ].EnteringEdit += new EnteringEditEventHandler( this.cell_EnterEdit );
row.Cells[ “Item” ].Value = item;
row.Cells[ “Item” ].Tag = “I” + id;
row.Cells[ “Item” ].AccessibleDescription = description;
row.Cells[ “Item” ].AccessibleName = accessName;
row.Cells[ “Item” ].EnteringEdit += new EnteringEditEventHandler( this.cell_EnterEdit );
Now it works beautifully.
Imported from legacy forums. Posted by Dustin_00 (had 2937 views)