Ajax calender Control Date and month Navigation

Posted by Madhuri123 under ASP.NET on 4/29/2011 | Points: 10 | Views : 2028 | Status : [Member] | Replies : 3
Hi,

In my project I Want insert DOB into Database.For that cause i used Ajax calender control.I want to show Month and Year in my Calender control.Can u please help me.


Thanks InAdvance,
T.Madhuri
.




Responses

Posted by: Ndebata on: 4/29/2011 [Member] Starter | Points: 25

Up
0
Down
Try to use ajax calendar extender with a textbox and an image as bellow
<asp:TextBox ID="TextBox1" onkeydown="return false;" ondrop="return false;"

onkeypress="return false;" ReadOnly="false" onpaste="return false" EnableViewState="true" runat="server"></asp:TextBox>
<img id="img" src="images/calendar_icon.gif" />
<asp:CalendarExtender ID="CalendarExtender1" TargetControlID="TextBox1" PopupButtonID="img" runat="server">
</asp:CalendarExtender>


Madhuri123, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 4/29/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi madhuri . .


Check out this link . it's help us u . .

http://www.asp.net/ajax/ajaxcontroltoolkit/samples/calendar/calendar.aspx


Best Regard's
Prabhakar

Madhuri123, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Madhuri123 on: 4/29/2011 [Member] Starter | Points: 25

Up
0
Down

Hi Prabhakar,

I want to Show the Month and Year in the Calender Control.Is there any properties is there.
can u please guide me in a right way


Madhuri123, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response