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
this.textBox1.AddClientEventListener("keypress", @" var e = arguments; 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.
It’s different on each browser and on each OS.
Please login first to submit.