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

CanUserInsertRow with paste leaves new row artifcat

1 Answer 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin
Top achievements
Rank 1
Martin asked on 16 Feb 2011, 06:10 PM
I do not want the user to be able to insert rows only edit existing rows.  CanUserInsertRow should fit the bill but if they paste a larger set of data than the grid, new (empty) rows show up in the grid that have no underlying item.  Any workarounds to stop that?. 

1 Answer, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 22 Feb 2011, 11:55 AM
Hi Martin,

Please, excuse us for the late reply.

You can try to set ClipboardPasteMode to OverwriteWithEmptyValues or to handle the Pasting event. More information can be found here.

Let us know if you need further assistance.
 
Regards,
Yordanka
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
GridView
Asked by
Martin
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Share this question
or