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

Error when delete row of New Record

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
soo
Top achievements
Rank 1
soo asked on 19 Jun 2008, 01:51 PM
Hi,

May i know how to do checking to not allow delete when this row is new record row? As i will get error as below : -

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
 

Please advice.

Thanks.

Regards,
Soo

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 20 Jun 2008, 11:27 AM
Hello soo,

Can you please provide a little bit more information on your scenario? Are you deleting the items directly from the datasource, or perhaps through the grid events, or simply hiding them?
Any additional info will help me better address the question at hand.

Best wishes,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
soo
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or