This is a migrated thread and some comments may be shown as answers.

Exit new row without saving

2 Answers 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vývoj GAMO
Top achievements
Rank 2
Vývoj GAMO asked on 16 Feb 2012, 01:01 PM
Hi,

new empty row is shown after I click on "Click here to add new item" on my RadGridView. When I press Escape twice, exception is thrown:

RowNotInTableException was unhandled by user code:
This row has been removed from a table and does not have any data.  BeginEdit() will allow creation of new data in this row.


My RadGridView is filling by DataContext from DataSet and contains my definitions for EventHandlers: BeginningEdit, CellValidating, RowValidating, RowEditEnded and Deleting.


How can I exit and close this new row without saving and validating all cells?


Thanks,
Maros

2 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 16 Feb 2012, 04:13 PM
Hello Maros,

Can you send us a sample application reproducing the problem (you need to open a support ticket and to attach it there)? We will check what is going wrong and will provide you with further assistance.
 
Regards,
Yordanka
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Vývoj GAMO
Top achievements
Rank 2
answered on 17 Feb 2012, 10:47 AM
In version 2012.1.215 it works fine.

Thanks,
Maros
Tags
GridView
Asked by
Vývoj GAMO
Top achievements
Rank 2
Answers by
Yordanka
Telerik team
Vývoj GAMO
Top achievements
Rank 2
Share this question
or