Last Updated: 11 Feb 2021 21:09 by ADMIN
Created on: 08 Feb 2021 17:55
Category: Grid
Type: Feature Request
AllowKeyboardNavigation - controllable action of Enter key


AllowKeyboardNavigation="true" allow for users to navigate the grid with the keyboard. This is great for people with disabilities and Section 508 compliance. But when this is enabled, and the "Enter" key is pressed, the default behavior is to present an update process.

This update process should be controllable when AllowKeyboardNavigation="true".

Just as a user note ... when I was trying to figure this out, reading through the options, the EditMode was the first place I started looking.

Here is the current workaround ... How do I disable editing when AllowKeyboardNavigation="true"? in UI for ASP.NET AJAX Grid - Telerik Forums

Hope this suggestion helps

1 comment
Posted on: 11 Feb 2021 21:09

Hi Sudhir,

Thanks a lot for your feature request!

Until this feature is implemented you can add one more check for the event target of the Enter key, which should be the Grid itself when a row is edited:
                function keyDown(sender, ev) {
                    var grid = $find("<%=RadGrid1.ClientID%>");
                    if (ev.keyCode == "13" && ev.target.id && ev.target.id == grid.get_id() ) {

Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.