The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi, i'm using a GridDataBoundGrid and a have detected a strange behavior: when i push enter the CurrentCell moves to the right and KeyPress event is fired, the problem is that when KeyPress is executed CurrentCell is already the next cell (the one to the right).
How can i know (inside KeyPress event) that the enter key was actually pressed when in previous cell?
ADAdministrator Syncfusion Team November 28, 2006 10:10 AM UTC
Hi Borja,
You can handle the CurrentCellKeyDown event and get the EnterKey ColIndex of the grid. Then check the LastKeyDown ColIndex to CurrentCell.ColIndex in CurrentCellKeyPress event. Here is a code snippet to show this.