This is the snippet Custom Calendar and Date Picker on FreeVBCode. The FreeVBCode site provides free Visual Basic code, examples, snippets, and articles on a variety of other topics as well. Whenever I user your datepicker in disabled mode, the value of the custom control will not be saved on server roundtrips. Also, the issue about the Z-index isn't fully fixed: If I have a dropdownlist just below the datepicker, the popup calendar will be covered by the dropdownlist.
Scheduled to be teamed up with an up and coming personal organizer project, you may find this picker to be useful within your own projects. It features an algorithm which accurately generates all of the days between 2000 and 2100, which makes it more than adequate for most applications. It looks very similar to the Windows XP calendar. Functions the same too. It returns a usable string after a date has been selected in the format 'mm-dd-yyyy'. Use VB's format function to convert the string to your requirements.Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog.
Once downloaded, open the.zip file from your local drive using WinZip or a comparable program to view the contents.Download.