Hello, is there any way to execute validating event handler statements for textbox while the user is typing instead of after textbox loses focus?
Loading
Hello, is there any way to execute validating event handler statements for textbox while the user is typing instead of after textbox loses focus?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Naresh BeniwalPosted Oct 30, 2022, 4:59 PM
https://www.codeproject.com/Questions/1278768/How-do-I-validate-user-entry-in-a-textbox-in-the-l
Jignesh KumarPosted Oct 16, 2022, 4:39 AM
Hi Ajay,
You can use keypress event which will help you to restric user while typing,
Sachin SinghPosted Oct 15, 2022, 8:21 PM
What do you mean by "Validating event handler"?
If you want to do something while user is typing you can use Change(),KeyPress() or KeyDown() or KeyUp() events.
Rajanikant HawaldarPosted Oct 15, 2022, 3:58 PM
I just used the Text change or keypress or keydown or preview... event