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

BatchEdit: causes row delete on Enter

1 Answer 5 Views
Grid
This is a migrated thread and some comments may be shown as answers.
miksh
Top achievements
Rank 1
Iron
miksh asked on 04 Jul 2014, 06:59 PM
I found the following BatchEdit behavour inconvenient (see your demo)
1. change to edit Row
2. click to edit any row, go to edit a product name textbox
3. press enter and you see a popup asking to delete this row

I think it's an unexpected logic with bad user experience.

1 Answer, 1 is accepted

Sort by
0
Accepted
Angel Petrov
Telerik team
answered on 09 Jul 2014, 03:53 PM
Hello Michael,

Indeed your observations are correct. When the EditMode is set to Batch and enter is pressed in IE the default page button will be clicked which will cause the delete popup message to display. In order to avoid this behavior you can set the AllowKeyboardNavigation property to true

ASPX:
<ClientSettings AllowKeyboardNavigation="true"></ClientSettings>
in which case the grid will close the edited row after Enter is pressed.

Regards,
Angel Petrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
miksh
Top achievements
Rank 1
Iron
Answers by
Angel Petrov
Telerik team
Share this question
or