Implement text boxes only entered in ASP.NET

xiaoxiao2021-03-06  104

Implement only the text boxes that only allow digital input in ASP.NET are very simple, just need to take advantage of CustomerValitor controls.

The function is ok. For example, add a text box first, add a CustomerValitor control, set the CustomerValitorFunction function to isnumber, then write a custom function in the page.