Search results

Customize the step value and hide spin buttons in ASP.NET Core NumericTextBox control

09 Jun 2021 / 1 minute to read

The spin buttons allow you to increase or decrease the value with the predefined step value. The visibility of spin buttons can be set using the showSpinButton property.

tagHelper
icons.cs
Copied to clipboard
<ejs-numerictextbox id="numeric" value="16" showSpinButton="false" step="2" min="10" max="100"></ejs-numerictextbox>
Copied to clipboard
public ActionResult Icons()
{
    return View();
}

Output be like the below.

NumericTextBox Sample