Home > DeveloperSection > Forums > AJAX Calendar Extender Control
John Smith

Total Post:101

Points:711
Posted on    September-29-2010 9:54 AM

 AJAX AJAX 
Ratings:


 2 Reply(s)
 2741  View(s)
Rate this:
I am trying to use AJAX calendar extender control in my ASP.NET application.
Please provide me any sample of code.

thx


Amit Singh

Total Post:103

Points:721
Posted on    September-29-2010 9:59 AM

we use AJAX calendar extender control by this example
Step1: we write this code on aspx page

<body>

    <form id="form1" runat="server">

    <div>

<%--Using ScriptManager orToolkitScriptManager according toolkit version--%>

    <asp:ScriptManager ID="ScriptManager1"runat="server"></asp:ScriptManager>

    <%--using textbox--%>

    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>

    <%-- using calenderextendar here--%>

    <cc1:CalendarExtender ID="CalendarExtender1" runat="server"TargetControlID ="TextBox1"Format="MMM/dd/yyyy">

    </cc1:CalendarExtender>

    </div>

    </form>

</body>

 

Step2: Runthe project

and see the result



John Smith

Total Post:101

Points:711
Posted on    September-30-2010 10:58 AM

Thanks Amit..

Don't want to miss updates? Please click the below button!

Follow MindStick