Click here to Skip to main content
15,891,903 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SQL
Can anyone bz suggest me how to record the input time on a textbox control in asp.net


that is the timer starts at the time when i start to input something in the textbox and stops when i move to the next textbox or move to any other control and i need to record this time of entering the text in the textbox..
Posted
Comments
[no name] 24-Jun-15 13:59pm    
Stopwatch

1 solution

Handle the got focus and lost focus events.
On got focus, start the timer.
On lost focus, stop the timer, calculate the time difference and display it.
 
Share this answer
 
Comments
Aditya Agarwal 25-Jun-15 18:03pm    
i cannot find any such event while making a webform....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900