Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to use a calendar popup to populate a date in a textbox using ajax,asp.net3.5,c#.
please explain me with example
Posted

It might help you,

Ajax Calendar Control[^]

Calendar[^]

:)
 
Share this answer
 
Comments
Uday P.Singh 25-Jul-11 8:40am    
nice links my 5!
Mohammad A Rahman 25-Jul-11 8:43am    
Thanks Uday :)
XML
<asp:TextBox ID="txtDOB" runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="txtDOB_CalendarExtender" runat="server"
    Enabled="True" Format="dd/MM/yyyy" TargetControlID="txtDOB">
</cc1:CalendarExtender>



use like it.
 
Share this answer
 
Comments
Uday P.Singh 25-Jul-11 8:43am    
yes my 5! , but make sure you include the AjaxControlToolkit.dll and ToolScriptManager in your code as well to work it flawlessly!
I prefer you use jQuery calender
Please refer this link

http://jqueryui.com/datepicker/
 
Share this answer
 
v2
Visit below link for display date calendar popup to populate in a textbox in asp.net

http://www.code-sample.com/2012/02/display-selected-date-calendar-into.html[^]
 
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