I am using a JavaScript virtual keyboard for an ASP.NET TextBox. But using a TextBox gives an option to use even system keyboard. I am trying to use an ASP.NET label instead but its not working. Is there any way to make use of virtual keyboard strictly.
Share
Make your textbox read only.
This way your user can not type in, but the javascript from the virtual keyboard can write. This is not a very good lokking user interface thow.
Using Javascript
Second trick is to use the the onkeypress and delete the key. You can add
window.event.keyCode=0on the TextBox when the key is pressed and reset every user input.Like this
New Version
This is works on every browser. I tested on chrome,firefox,ie
and
One more simple way.
I tested on all my browsers and this is working also.