Click here to Skip to main content
15,909,440 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to insert only time in to the text box in the format of hr:min(10:15am,04:06pm) by using regular expression validator control.how can i do so.
Posted
Updated 19-Jul-12 20:51pm
v2

Why a repost? Follow at one place: Question regarding Asp.net4.0[^]

You already asked this yesterday and were answered. What have you tried since then?
 
Share this answer
 
Try the MaskedEdit control from the AjaxControlToolKit

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/MaskedEdit/MaskedEdit.aspx[^]
 
Share this answer
 
Try for Custom Validation or Regular expression, if you are comfortable with it.
http://stackoverflow.com/questions/7966540/trying-to-check-input-textbox-for-time[^]
 
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