Click here to Skip to main content
15,911,848 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a master page and i am using ajax calendar control for date. I have added ajax calendar control to date textbox. But when I run this, the calendar is not showing. When I click on the text box it is not showing the calendar. What is the problem? Please help.

Here is my code-

<td class="auto-style2"><asp:TextBox ID="txtdob" runat="server" Width="161px" CausesValidation="True" Height="19px">
    <asp:ScriptManager ID="ScriptManager1" runat="server" > 
    <cc1:CalendarExtender ID="txtdob_CalendarExtender"  runat="server" Enabled="True" TargetControlID="txtdob" Format="mm/dd/yyyy" >
    
</td>
Posted
Updated 23-Jan-14 21:39pm
v2
Comments
JoCodes 24-Jan-14 3:44am    
Have you registered AjaxControlToolkit with proper tagprefix in your page?

1 solution

<aj:toolkitscriptmanager id="ToolkitScriptManager1"  runat="server" ></aj:toolkitscriptmanager>
 
Share this answer
 
v2

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