Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can any one help I need Calendar For Selecting Date of Birth.
Posted
Comments
Herman<T>.Instance 16-Sep-11 3:46am    
which control do you use? where are the dates coming from? is this homework?
hitech_s 16-Sep-11 3:48am    
when ever u click on the calender button
after selecting the date. it will get into the text box
vasanthkarthi 16-Sep-11 3:52am    
ajax am using...

u need to add ajax dll to u r application.
then register it in your page where u want to use..


User ajax calender extender its very easy....
like this

 <asp:textbox id="txtDate" runat="server" cssclass="textbox" />
<asp:imagebutton id="imgcalnd" runat="server" height="16" width="16" imageurl="~/images/Calendar.png" />
<cc1:calendarextender id="calcontl"  runat="server" targetcontrolid="txtDate" Format="MM" popupbuttonid="imgcalnd" />




to get only month use this property in extender
Format="MM"
 
Share this answer
 
v4
Comments
vasanthkarthi 16-Sep-11 3:51am    
ya but i want to show the month in textbox how it is ?
hitech_s 16-Sep-11 4:25am    
add property Format="MM" for extender
You can use jquery. Check This[^]

hope it helps :)
 
Share this answer
 
Go there-ASP.Net-Ajax Calendar[^]

From Reference link :- Calendar is an ASP.NET AJAX extender that can be attached to any ASP.NET TextBox control. It provides client-side date-picking functionality with customizable date format and UI in a popup control. You can interact with the calendar by clicking on a day to set the date, or the "Today" link to set the current date.
 
Share this answer
 
U can use Ajax Calendar Control.
 
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