Click here to Skip to main content
15,887,302 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a small application in Asp.net . I am using Ajax toolkit in that. I wish to display the date in a text box . I have given a small calendar icon as PopPupButtonId. When I click on that calendar button to the update panel shows loading processand it never proceeds further .
ASP.NET
<asp:TextBox ID="txtnoticedate" runat="server" Width="200px" CssClass="textbox"></asp:TextBox>
 <asp:CalendarExtender ID="txtnoticedate_CalendarExtender" runat="server" TargetControlID="txtnoticedate" PopupButtonID="imgbtncalendar">                                         
  </asp:CalendarExtender>
 <asp:ImageButton ID="imgbtncalendar" runat="server" ImageUrl="~/Admin/Images/Calendar.png" />


Please Help me
Posted
Comments
Member 9762654 29-Jul-13 7:46am    
have you included script manager to your form?
Kunal Ved 29-Jul-13 7:46am    
Yes .. Its in the master page of this page

 
Share this answer
 
Check that you added
XML
<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
</asp:ScriptManagerProxy>

in your page.

Also make sure you added proper reference to dll and dont forget to include page directive something like
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

Regards..:laugh:
 
Share this answer
 
Comments
Kunal Ved 29-Jul-13 8:05am    
I have already included Script Manager in the Master Page of this Page and I am not missing the dll reference either."<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>" .


I have update panel on the master page , can that cause any problem ? I do not get any sort of error but the update panel keeps on loading
Thanks7872 29-Jul-13 8:06am    
Try adding scriptmanager proxy also at page.
Kunal Ved 29-Jul-13 8:11am    
I added the script Manager proxy too . Still No Success

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