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

Entey key behavior in Edit mode of manual data editing

2 Answers 43 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Ahmed
Top achievements
Rank 1
Ahmed asked on 02 Jul 2017, 06:55 PM

Hi Team,

 

In manual data editing, pressing Enter key in any of the input controls while editing a record triggers InitInsert command instead of the expected command e.g. PerformInsert, Update etc...

 

This is reproducible in the online demo as well. Steps to reproduce;

1- Edit a record.

2- Hit enter while Name input for instance is focused.

3- A postback is triggered and the command name about to be executed is InitInsert.

 

Is there a built-in approach to disable this behavior?

2 Answers, 1 is accepted

Sort by
0
Ahmed
Top achievements
Rank 1
answered on 02 Jul 2017, 07:01 PM

In addition to the above scenario, here is another unexpected result that also reproducible in the online demo

1- Click Add New Product button

2- Fill required fields

3- Move to Name field for instance

4- Hit Enter key

5- This results to losing the data just entered and putting the first item in Edit mode.

 

Can you please advise regarding such scenarios?

0
Eyup
Telerik team
answered on 05 Jul 2017, 05:34 AM
Hello Ahmed,

You can find detailed explanation and possible solutions for this case in the following post:
http://www.telerik.com/forums/radgrid-disable-enter-key#KAn1O5APR0SaXfk3MrhL9Q

I hope this will prove helpful.

Regards,
Eyup
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ListView
Asked by
Ahmed
Top achievements
Rank 1
Answers by
Ahmed
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or