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.
My windows form contains DataBoundGrid and few buttons. I have assigned one of the button in the form as "AcceptButton" property of the form. When I press ENTER key while the control is focused on one of the gridcell, the control is moved to the next cell of the grid instead of performing accept button click event. How can I invoke AcceptButton click event, when an Enter key is pressed.
ADAdministrator Syncfusion Team August 22, 2006 04:34 AM UTC
Hi Ravi,
To raise the click event of the button when the ENTER key is pressed, you need to handle the CurrentCellKeyDown event to call the PerformClick() method for AcceptButton(windows Button Control).
Thanks Haneef, It works. I have migrated my code from Syncfusion 1.6 version to 4.2 version, with the old version without using your workaround code it works.