hi! everyone.

please help i need to add a date picker to an asp page and i have been looking over the internet and i cant find anything to help me.it may be a drop down or may be like (check this page http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx) .it would be real nice if you could provide me with the code.

please help...

than you.

Recommended Answers

All 2 Replies

To insert DatePicker in aspx page use following code.

<asp:ScriptManager></asp:ScriptManager>
<ajaxToolkit:Calendar runat="server"
    TargetControlID="Date1"
    CssClass="ClassName"
    Format="MMMM d, yyyy"
    PopupButtonID="Image1" />

Here TargetControlId is the textbox name where you would like to inset date.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.