Click here to Skip to main content
15,886,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have posted this question before but still there is no solution.

I have no issue when using calendar extender with page without master page.
But when it comes to textbox inside contentplaceholder, calendar extender just didnt display.

Here is my code:
XML
<asp:TextBox ID="txtRegDate" runat="server" CssClass="txtbox" Width="190px"></asp:TextBox>
 <asp:ImageButton ID="imgCalendar" runat="server" Height="20px"
ImageUrl="~/img/calendar.jpg" Width="22px" />
 <cc1:CalendarExtender ID="txtRegDate_CalendarExtender" runat="server"
Enabled="True" TargetControlID="txtRegDate" PopupButtonID="imgCalendar">
</cc1:CalendarExtender>


I have googled around and didnt not find any answer that can solve my problem.
Posted
Comments
sahabiswarup 1-Sep-12 16:16pm    
have you added ajax toolkit properly in your webpage? because what you are saying is not a problem atal. I have used calendar extender inside contentplaceholder many times. So please check and do reply.
I'll try my best.
snamyna 10-Sep-12 4:50am    
Yes, I did that.. I already add ajax toolkit into my project, also has declared the tag prefix. I also add script manager. When I google around, there r some suggestions to replace script manager with toolkit manager. I did everything, but seems nothing could solve my problem. I know there must be a way to solve it. I just didnt find it yet.

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