.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Articles >> JQuery >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Month and year dropdown Calendar using JQuery With ASP.Net

Posted By:Syed Shakeer Hussain       Posted Date: July 28, 2012    Points: 25    Category: JQuery    URL: http://www.dotnetspark.com  

Month and year dropdown calendar using JQuery With ASP.Net


The following article shows you how to create user friendly Calendar control to select month and year dropdown using JQuery with ASP.Net.

<%@ Page Title="" Language="C#" MasterPageFile="~/CaseSeriesMaster.Master" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebCalendar.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<head><title>jQuery Open on image button</title>
<link rel="stylesheet" href="ui.all.css" type="text/css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> 
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js"></script>
	<script type="text/javascript">
	    $(document).ready(function () {
	        $("#date").datepicker({ showOn: 'button', buttonImageOnly: true, buttonImage: 'images/icon_cal.png', changeMonth: true,
	            changeYear: true

<form action="jquery-1.7.2.min.js">
Created Date: <input type="text" id="date" />

In the above example i created a calendar control in a WebForm containing MasterPage.

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend