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.
SRSri Rajan Syncfusion Team September 20, 2008 03:59 AM UTC
Hi Alex,
Thank you for your interest in Syncfusion products.
Please try this code to solve this issue and let me know if this helps. void gridControl1_CurrentCellKeyPress(object sender, KeyPressEventArgs e) { GridCurrentCell cc = this.gridControl1.CurrentCell; if (this.gridControl1[cc.RowIndex, cc.ColIndex].CellType == "ComboBox") { int key = (int)e.KeyChar; if (key >= 47 && key <= 58) { } else { e.Handled = true; } } }
Best Regards, Srirajan.
ADAdministrator Syncfusion Team September 22, 2008 02:35 PM UTC
Thank you, Srirajan. The path you suggested works well with some minor specific adjustments for our application (like CellType and additional condition for ignoring not numbers).