How to use Ajax Calender Extender Control?
Hi i want to generate date for two textboxes...can u just give me introduction to ajax calender extender..
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 4, 2013, 10:14 PM EDT
it describe all the step how to do that with code
http://www.aspdotnet-suresh.com/2012/06/ajax-calendar-extender-control-example.html
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 4, 2013, 10:19 PM EDT
Here it is. Before using this code make sure you have downloaded the AjaxControlToolKit dll and you can have one calendar image. I have attached it.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm6.aspx.cs" Inherits="QuestionWebApplication.WebForm6" %>
<%@ Register TagPrefix="ajaxToolkit" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit, Version=4.1.60501.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" %>
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>title>
head>
<body>
<form id="form1" runat="server">
<ajaxToolkit:ToolkitScriptManager ID="ScriptManager" runat="server" AsyncPostBackTimeout="3600">
ajaxToolkit:ToolkitScriptManager>
<div>
<table>
<tr>
<td>
From Date
td>
<td>
<asp:TextBox ID="TxtBxFromDate" Width="70px" runat="server">asp:TextBox>
<asp:Image ID="ImgFromDate" ImageUrl="Image/calendar.png" runat="server" />
<ajaxToolkit:CalendarExtender ID="CalendarExtender1" TargetControlID="TxtBxFromDate"
PopupButtonID="ImgFromDate" Format="MM/dd/yyyy" runat="server" />
td>
tr>
table>
div>
form>
body>
html>
Regards,
Iftikar
selva kumarRank #2,987 · 483 reputationPosted Jul 4, 2013, 10:25 PM EDT
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
This is my source Page..but when i clicking text box the calender extender does't displayed....
Can u help me out...
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 4, 2013, 10:37 PM EDT
Regards,
Iftikar
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 4, 2013, 10:44 PM EDT
selva kumarRank #2,987 · 483 reputationPosted Jul 4, 2013, 11:33 PM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 4, 2013, 11:38 PM EDT
Regards,
Iftikar
selva kumarRank #2,987 · 483 reputationPosted Jul 4, 2013, 11:46 PM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 4, 2013, 11:49 PM EDT
http://www.asp.net/ajaxlibrary/ajaxcontroltoolkitsamplesite/
Regards,
Iftikar
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 5, 2013, 12:18 AM EDT
Which version of visual studio you are using.