I was trying to use a calendar extender but for some reasons it not working? Just put a simple TextBox and CalendarExtender, when I click inside the textbox it supposed to be popup the calendar, but I got nothing.
On the other hand, I tried the ConfirmButtonExteder and it work fine.
I don't know if something wrong, maybe I missing something in web.config? but why the ConfirmButtonExtender works?
I use VS 2012, ASP.NET C#, .NET Framework 4.5, Ajax toolkit 4.1.7.725 (latest one from official website) then Install the Ajaxtoolkit it from Nuget (version 4.5...) but still samething, the calendar is not popup, the confirmbuttonextender works just fine. I dont know why?
Here my code:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="MainContent">
<p>
<ajaxToolkit:ToolkitScriptManager runat="server" ID="ScriptManager1" /
<asp:Button ID="Button1" runat="server" Text="Button" />
<ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="Button1"></ajaxToolkit:ConfirmButtonExtender>
<br />
<asp:TextBox runat="server" ID="Date1"/>
<br />
<ajaxToolkit:CalendarExtender ID="defaultCalendarExtender" runat="server" TargetControlID="Date1" />
</p>
</asp:Content>