Click here to Skip to main content
15,883,749 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi guys , I have requirement in asp.net . How to allow the textbox hours and minutes . i am new for asp.net . please give me reply.
advanced thanks..
Posted
Updated 10-Sep-13 6:21am
v2
Comments
ridoy 10-Sep-13 12:37pm    
then,what is the language,c# or vb?
CH Guravaiah 10-Sep-13 12:39pm    
c#.net

1 solution

This is not easy and will hardly ever work perfectly and not irritate the user. So, the best approach would be this: use the DateTimePicker like the one provided in this CodeProject library: DateTimePicker Web Control[^].

One more: http://www.essentialobjects.com/Products/EOWeb/Calendar.aspx[^].

And this one is the closest to the TextBox: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Calendar/Calendar.aspx[^].

Probably you will be able to find some other available component like that: http://bit.ly/18MIDW3[^].

—SA
 
Share this answer
 
Comments
CPallini 10-Sep-13 13:19pm    
5.
Sergey Alexandrovich Kryukov 10-Sep-13 13:21pm    
Thank you, Carlo.
—SA
Joezer BH 11-Sep-13 2:53am    
You wrote 5 but didn't vote :)
I've added my vote to vouch
Sergey Alexandrovich Kryukov 11-Sep-13 3:00am    
Thank you.
—SA
CPallini 11-Sep-13 3:13am    
Oooops, (sorry Sergey) done! :-)

Thank you.

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