FilteredTextBox for invalid chars as (@%$&*)
-
how to filtered textbox i want to put only valid char suppose (a-z,0-9) please just send me the solution.
-
how to filtered textbox i want to put only valid char suppose (a-z,0-9) please just send me the solution.
Hello, U can assign a regularexpression validator to the text box. regularexpression can be "^[a-zA-Z0-9]$" try this.
-
Hello, U can assign a regularexpression validator to the text box. regularexpression can be "^[a-zA-Z0-9]$" try this.
Hello, You can check on client side also. using textchanged event of that textbox. call a function on textchange and on the function check the keychar if it is within your range then text will be added otherwise it return false, means character not appended on that textbox. Only valid char will appears. Try to make a javascript function.. Best of luck. :-O
Dipak
-
how to filtered textbox i want to put only valid char suppose (a-z,0-9) please just send me the solution.
Just check this link... I am saying this type of code.. http://www.w3schools.com/jsref/jsref\_onkeydown.asp Try it out.
Dipak