When I set a textbox input type number , textbox maxlength is not work , and textbox accept like “e” ,”+”,”-“,”x” caracters.
This is big problem for us
Thanks
You can:
this.textBox1.AddClientEventListener("keypress", @" var e = arguments[0]; if ('0123456789'.indexOf(e.getKeyIdentifier()) === -1) e.stop(); "); HTH
Thank you very much luca
AddClientEventListener code it is work , I want also backspace and delete press permission it is possible ?
It’s how it works in the browser.
The InputType property of the TextBox allows you to use the native implementation of the different types. It is not a Wisej widget – it’s exactly as the browser implements it.
https://www.w3schools.com/html/html_form_input_types.asp
It’s different on each browser and on each OS.
Please login first to submit.