Click here to Skip to main content
Click here to Skip to main content

Calendar Control for your Web site – An HTML Component (HTC)

By , 28 Jun 2003
Rate this:
Please Sign up or sign in to vote.

Sample Image - Calendar_Control.png


More than thousands of web sites are selling this kind of web based calendar controls. Have a look at this HTML component. Feel free to use/modify if you want, in your development. Please get back to me if you want to add any special features that you like.

This web based calendar control is fully written as an HTC component by using HTML and DHTML.

To learn about HTC please visit:

Special features

  • Fully functional at client side (pure thin client) and no round trips to the server.
  • Reusable HTC component. So it takes all the advantages of HTC.
  • Navigation controls to navigate day, week, month, year are implemented in this HTC component.
  • Look and feel UI for picking date.
  • All controls are created at run time and optimized for speed.
  • Full "interactive help" like tool tips, descriptions provided.


At present, only IE 5.0 or later browsers support this HTC technology. Microsoft is still waiting for World Wide Web Consortium adoption. So, to successfully deploy this control on a web site, a browser detection routine is required to ensure the user is running a version of IE 5.0 or later, before launching the components.


This control pack contains the following 4 files.


    Core component, contains all business logic implemented by myself.

  • Calendar.htm

    HTML page will be displayed in a dialog box and it has one instance of the above component.

  • MyWebPage.htm

    Sample web page using this calendar control.

  • Calendar.gif

    Image to be rendered on calendar button of the sample web page.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Venkatakarthikeyan Natarajamoorthy
Software Developer (Senior)
United States United States
Venkat Nataraj works as a Technical Consultant for GE Healthcare, USA. Earlier, he worked as a Software Tech Lead for Dell Inc, System Analyst for Satyam Computer Services and Software Engineering Consultant for GE Power Systems, Bently Nevada. He is an MCSD.NET early achiever. He has been working in the last 11+ years in software design and development of leading-edge business solutions with various development tools, technologies, platforms, and architectures. Here is the latest certifications by him:
• General Electric (GE) Certified GE Green Belt in Six Sigma
• Microsoft Certified Professional (MCP)
• Microsoft Certified Application Developer for Microsoft .NET (MCAD.NET)
• Microsoft Certified Solution Developer for Microsoft .NET (MCSD.NET)
• MCSD.NET Early achiever
• Brainbench Certified Visual C++ programmer
• Computer Society of India (CSI) awarded first place in the inter-college Computer Quiz Competition
• Computer Society of India (CSI) awarded first place in the inter-college Software Contest
• Received “Process Innovation” award from Dell Inc
He spends his free time with music, watching hollywood movies and Sujatha's stories. His favorite musician is Ilayaraja. Bringing real music to his soul and heart. Hariharan is his most favorite singer.

Comments and Discussions

QuestionHow to make it works in firefox PinmemberMember 916387924-Jun-12 7:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 29 Jun 2003
Article Copyright 2003 by Venkatakarthikeyan Natarajamoorthy
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid