DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
Kaprice 7/19/2019 3:13:35 PM

RadGrid - UNDO Add Record - Winforms VB.net

I need to find a way to undo an Add New Record in Radgrid.

So, a user adds a new record and moves off the new record row. That locks it in the grid (but has not yet been submitted to the underlying database).

How can I UNDO that via code (VB)?

I know that under normal circumstances, it would be better to run validation code and merely cancel the New Record before it locks in, but I have reasons for not doing that.

Conceptually, I think I just need a way to identify what the new record's ID is and then delete it. But, I can't figure out how to do that. I'm open to other solutions, as well.

Version: Unknown or N/A
Section: .NET Development, Telerik