ASP.NET : Choose Date by Using JQuery Calender Choose Date by Using JQuery Calender

Hello Friends,
In these article we see how to Perform JQuery Calendar on choosing Date Choose Date by Using JQuery Calendar . Before go through this tutorial i'm strongly recommended you to read my previous tutorials : How to call one page to another page by using JQuery and another article is How to Validate Textbox Data doesn't allow empty value by using JQuery.

HTML Markup : Design Page

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ASPDA.aspx.cs" Inherits="ASPNET_ASPDA" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head runat="server">
 <!------         ADD JQuery ------ >    
 <!--  ADD CSS Code -- >
    <form id="form1" runat="server">
    <div class="div">
    <div>Choose Date From Calendar Using JQuery : </div><br />
     <asp:TextBox ID="txtdate" runat="server" CssClass="textdate"></asp:TextBox>

Add CSS Code :

 <style type="text/css">
     .textdate, .div
         font-family:Times New Roman, Tahoma, Verdana;
         padding:5px 10px 5px 10px;

Add JQuery Code

<script src=""></script>
    <script src=""></script>
    <link rel="stylesheet" href="">

    <script type="text/javascript">
        $(document).ready(function () {
            $('#txtdate').focusin(function () {
                $(this).datepicker({ dateFormat: "dd-mm-yy" });

Post a Comment