Entey key behavior in Edit mode of manual data editing

3 posts, 0 answers
  1. Ahmed
    Ahmed avatar
    2 posts
    Member since:
    Mar 2014

    Posted 02 Jul Link to this post

    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. Ahmed
    Ahmed avatar
    2 posts
    Member since:
    Mar 2014

    Posted 02 Jul Link to this post

    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?

  3. Eyup
    Admin
    Eyup avatar
    3331 posts

    Posted 05 Jul Link to this post

    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.
Back to Top