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.
BCBerly Christopher Syncfusion Team April 7, 2020 06:50 AM UTC
Hi Shreekumar,
Greetings from Syncfusion support.
We can restrict the decimals by setting the validateDecimalOnType as true and define decimals value as 0 which is help us to restrict the decimals while typing in the NumericTextBox component as mentioned below to achieve the requested requirement.
With this configuration, it is allowing decimal Point (.) also. Can it be restricted?
BCBerly Christopher Syncfusion Team April 8, 2020 08:03 AM UTC
Hi Shreekumar,
We can restrict the decimal point in the NumericTextBox by finding the keycode for this and prevent the action for entering value in the keydown event as mentioned below.