Click here to Skip to main content
15,917,793 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using ajax calendar extender. I have a textbox and calendar image next to it. When user clicks on image button, the calendar is to popout and on selection of date, the date is to be displayed on textbox. The client side code is

<asp:ScriptManager ID="sm" runat="server">

<label id="lbldate" runat="server" class="editor-label">Date </label>
       <asp:TextBox ID="txtStartDate" runat="server" Width="155px" style="background-color:whitesmoke;" AutoCompleteType="None" ></asp:TextBox>
        <asp:Image ID="imgCalendarStartDate" runat="server" ImageUrl="~/Styles/Images/Calander.png" Height="16px" Width="16px" />
       <ajax:CalendarExtender ID="ajaxCalendarExtender" runat="server" BehaviorID="ajaxCalendarExtender" TargetControlID="txtStartDate" PopupButtonID="imgCalendarStartDate"></ajax:CalendarExtender>

Here, as i click the calendar image button, the calendar does not pop up.. is there anything i have missed.
Thanks in advance...

1 solution

I replaced <ajax:toolkitscript xmlns:ajax="#unknown"> manager inplace of <asp:scriptmanager xmlns:asp="#unknown"> and it worked..
Share this answer

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

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