Click here to Skip to main content
15,890,186 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i am using donet framework 2.0, In My .aspx page, i am using Ajax Calender extender.i add reference ajaxtoolcontrol. and i give proper popbuttonid and targetcontrol. during run time this not give any type error, but ehen i click on popbutton for popup, then it is unable in popup. plz can any one help me.
Thanks in advance.
this is my calanedr coding.
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" PopupButtonID="ImageButton2" TargetControlID="TextBox1" Format="dd/MM/yyyy" PopupPosition="BottomRight" >
Posted

use this no problem at all.

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


XML
<asp:TextBox ID="txtStartDate" runat="server" CssClass="textbox"></asp:TextBox><code></code>
                                                                               <asp:ImageButton ID="ibtnSatrtDate" runat="server" Height="16px" Width="16px" ImageUrl="~/images/Calendar.png" />
                                                                               <cc1:CalendarExtender ID="txtStartDate_CalendarExtender" runat="server" Enabled="True"
                                                                                   TargetControlID="txtStartDate" PopupButtonID="ibtnSatrtDate">
                                                                               </cc1:CalendarExtender>
 
Share this answer
 
v3
Hi I have solve this problem, by adding reference and assembly information in web config file.
Thanks
 
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