Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i need help for calender control thet is when i click the textbox the calender will display then after selecting the date that will passed to texbox .how it is possible
Posted

Take a text box as txtDateTo and a calender extender of Ajax
and use like it and set format as per your choice.

<pre lang="xml"><cc1:CalendarExtender ID="txtDateTo_CalendarExtender" runat="server"
                    Enabled="True" Format="dd/MMM/yyyy" TargetControlID="txtDateTo"></cc1:CalendarExtender>
 
Share this answer
 
Comments
Rakesh From Patna 23-Jul-11 4:10am    
good advice.
you can use AjaxToolkit calendar extender refer This[^]

hope it helps :)
 
Share this answer
 
Comments
Ramya 2 25-Jul-11 2:12am    
thank you very much for your help.really it helps
Uday P.Singh 25-Jul-11 14:19pm    
if it helps then accept the answer
Mohd wasif Suggested the right solution. you have two options.
1- Use AJAX Calender Extender control
2- You will find many javascript datetime pickers free.
Have a look at http://www.codeproject.com/KB/user-controls/ASPNET_DateSelector.aspx
 
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