How to display mobile numeric keypad in ASP.NET CORE MaskedTextBox
17 Aug 20261 minute to read
By default, on focusing the MaskedTextBox, alphanumeric keypad will be displayed on mobile devices. Sometimes only numeric keypad for number values is needed, and this can be achieved by setting “type” property to tel.
Refer to the following example to enable numeric keypad in MaskedTextBox.
<ejs-maskedtextbox id="mask1" name="mask_value" mask='00000' type="tel"></ejs-maskedtextbox>public ActionResult numericKeypad()
{
return View();
}