View Single Post
  #3 (permalink)  
Old August 17th, 2011, 04:54 AM
Abhishek Kumar Abhishek Kumar is offline
Authorized User
Points: 265, Level: 5
Points: 265, Level: 5 Points: 265, Level: 5 Points: 265, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2010
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Textbox with calender extender is not working?

I have downloaded ajax toolkit and installed it sucessfully.

and put the following code


<div>
<asp:TextBox
ID="TextBox1"
runat="server"
width="300pt" />
<asp:ImageButton
ID="btnCalenderPopup"
Width="16" Height="16"
runat="server"
ImageUrl="~/images/calender.bmp"
CausesValidation="False" />
<ajaxToolkit:CalendarExtender
ID="CalendarExtender1"
runat="server"
TargetControlID="TextBox1"
PopupButtonID="btnCalenderPopup"
Format="dd/MM/yyyy" />

</div>



But I am getting this error. Pls check it...


Error Creating Control - CalendarExtender1This control cannot be displayed because its TagPrefix is not registered in this Web Form.
Reply With Quote