JavaScript Calendar Control in ASP.NET 2.0

In this article, I am going to explain, how we can use a JavaScript Calendar control in ASP.NET 2.0. In this article I am using a JavaScript file (Calendar.js) and a CSS file (Calendar.css). JavaScript file has all functions and methods, which are used in calendar and CSS file has all calendar style sheets.

You can call JavaScript file on page like this:

<script language=”javascript” src=Calendar.js type=”text/javascript”></script>

and stylesheet file like this:

<link href=Calendar.css rel=”stylesheet” type=”text/css”>

Here is a snapshot of Calendar control.

showcalendar
Figure 1:

You can call JavaScript file on a Button click event handler.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s