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.
Is there a way to have a numeric textbox that will actually disable the ability to enter in non numeric characters in a grid cell so you dont need to put error handling or checking in the savecellinfo code or cellvalidating code.
thks,
ak
ADAdministrator Syncfusion Team December 10, 2005 05:17 PM UTC
There is a special event set up to handle this key by key validating. In is the CurrentCellValidateString event. It is raised keystroke by keystroke and the proposed value is passed as part of the event args, and you can cancel the keystroke if you do not want the string it generates.
If you want to have a cell control to handle this without using an event, you can try using a "Currency" celltype with a blank CurrencySymbol to see if that serves your purpose. (But using the CurrentCellValidateString event is straight-forward.)