Click here to Skip to main content
15,895,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
please reply question
1.TextBox which takes time values ex: 00:00:00 enter if we enter any other character it should show error messsage?
Posted
Updated 25-Jan-12 2:57am
v2
Comments
fjdiewornncalwe 25-Jan-12 8:58am    
WinForms, WPF, asp.net, C#, VB.NET, J#, F#, javascript? We need to know what technology you are talking about if we are going to help. Please add this information to the question tags.

1 solution

1. create a function in javascript
2. use keycode to validate
3. and call it onkeydown event of button
 
Share this answer
 

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