Click here to Skip to main content
14,865,447 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Code is looking right.. but when i run the application.. my textbox is not showing the calender exterder??
i am using ajax control toolkit..
what is the problem.. i get nothing... no error not a calender extender
here is the code.

Date <asp:TextBox ID="txtdate" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtdate">
Updated 16-Jan-19 4:41am
[no name] 4-Dec-11 4:04am
EDIT: added "b" tag

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

Add the above line within page directive. Then apply the following lines:
<asp:ScriptManager id="ScriptManager" runat="server">

<asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
   <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDate"> </cc1:CalendarExtender>

For further information visit the following link:[^][^][^]
Rubaba 3-Dec-11 11:41am
i applied its working for me.5!
Monjurul Habib 5-Dec-11 16:20pm
thank you
[no name] 4-Dec-11 4:07am
my 5!
Monjurul Habib 4-Dec-11 6:09am
thank you
Uday P.Singh 4-Dec-11 5:14am
Correct 5+
Monjurul Habib 4-Dec-11 6:09am
thank you
Member 10728261 6-Apr-14 12:08pm
still not working
NekoNao 3-Dec-15 4:07am
mine also
Date <asp:TextBox ID="txtdate" runat="server">

        <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtdate">

if u add assembly and then access ajax controls
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900