Skip to content

ASP.Net Calendar issues

by Adam on February 19th, 2006

I am working on a very simple JavaScript popup calendar control for people to use in their web forms. I tried using the ASP.Net one but it has several problems.

ASP.Net Calendar Issues:

  1. Clicking on the calendar for changing months or selecting days requires a post back and requires extra Page_Load code to pass by any processing code that shouldn’t be run before the form is filled out.
  2. Placing an asp:Calendar control in your form puts a table into the page source.
  3. The calendar control doesn’t popup by itself. It requires a bit of JavaScript finagling and a surrounding div. Working JavaScript into an ASP.Net application isn’t the easiest thing to do.

There are probably a few more, but I stopped working with the calendar control and started to build my own simple JavaScript/CSS one with much better flexibility.

From → Uncategorized

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS