Click here to Skip to main content
15,904,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to do set the current System date and time for calender
Posted
Comments
Herman<T>.Instance 15-Feb-12 5:59am    
what have you tried? do you use asp.net or ajax control?

if it's asp.net then that textbox.text=today.date (textbox u are binding with the calender) then on calender selectionchanged event u bind the calender selected date.
 
Share this answer
 
<asp:calendar id="Calendar1" runat="server" selecteddate="<%# DateTime.Now %>" xmlns:asp="#unknown" />
 
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