i wanna load calendar when i click the textbox (in asp.net C#).. how can i implement that..?
can anyone tell me the idea to do that..?
i wanna load calendar when i click the textbox (in asp.net C#).. how can i implement that..?
can anyone tell me the idea to do that..?
If you have to use ASP.NET controls then I would recommend the Ajax Control Tool kit:
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx
otherwise use any of these javascript based client side tools:
Jquery UI http://jqueryui.com/demos/datepicker/
or any of these http://www.bigwebmaster.com/JavaScript/Scripts%5Fand%5FPrograms/Calendars/
I have been using http://www.dynarch.com/projects/calendar/old/ for a few years now in an asp.net project, without problems.
If I would upgrade I pick the http://jqueryui.com/demos/datepicker/, because jQuery is already used in the project. But the new http://www.dynarch.com/projects/calendar/ is a nice one also.
All you need with all these calendars is an asp:textbox. On the client side you attach the calendar and when the form get's posted you have to parse the date in code-behind. If you put this in a control you can reuse the calendar everywhere in your project.