Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai

I am using 2 calendar controls and a text box in my .net application.

Name,Starttime,endtime
Textbox,Calendar1,calendar2

If i am selecting the calendar control it will display the date and the time is always displaying "12:00:00AM". I want to display the current date time for start time and future date time for end time.How can i achieve this.


Thanks in advance.
Posted
Comments
BillWoodruff 13-Dec-13 7:44am    
What is typed or shown in the TextBox and what is the relation of that to the two Calendar Controls ?

I think u should use a time picker with that or u can even get the current time (not like the same time always but the current time)
what's the exact requirement for u?
 
Share this answer
 
I think your problem solve with the help of Ajax DateTime Picker, Try this link Click , for any query and information hit the reply.
 
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