Tuesday, March 13, 2012

TextBox and calendar

Hello,
When i have a textbox, in which i want to write a date, i want to call the calendar control.
How can i do it?I suggest you download and install the Timetracker Starter Kit. It uses an example with a Pop-Up Calendar Control. When you choose a date and press OK, the date is written to the Textbox Control in the original document. The Starter Kit in itself is also very useful.
Hi,

you can also take a look at thiscontrol.

Grz, Kris.
Hello, although that control is nice and cool. But maybe its better our friend go a little bit into depth and see how such things are implemented. Check this article please, it will give you a wide knowledge of how that can be done:

Populating Form Inputs Using the Calendar Control

Regards.
Hi Haidar,

great aricle you provided. When I've got to some free time to spare I'll read it myself.

Grz, Kris.
Hello Kris, glad you liked that article. You know something, I always like to read about things and not move directly to code. Sometimes, you feel certain issues need no more than some pieces of code. But the rest of time, I prefer to go in depth with techniques, so that you pass by it once and then the next time, you alread have the idea behind it so you won't waste a lot of time knowing how to do it. But if you always just check the code, you would never learn it and every time you would spend the same amount of time to solve it.

regards.
thanks
Glad to help my friend. Good Luck.

regards.
Hi,

this can be accomplised by Java Script. Search google.com for making pop up calender in asp.net
Check out this code sample on how to change the dates of the ASP.Net Calendar:
http://www.aspnet101.com/aspnet101/aspnet/codesample.aspx?code=calChange

0 comments:

Post a Comment