Click here to Skip to main content
16,015,351 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
When we run the page while first time page loading ajax calendar is not loading after that
ajax calender is working fine
we require ajax calendar effect while first time page load
Posted
Comments
Thanks7872 31-Jul-14 3:22am    
And we are suppose to guess the code and the issue?
jigish shah 31-Jul-14 4:02am    
<asp:TextBox ID="txt_from" runat="server"><cc1:CalendarExtender ID="ca1" runat="server" TargetControlID="txt_from"
Format="dd/MM/yyyy">

this is the code, but it is not working while page load first time
but it is working fine after 2nd time loading

1 solution

What about

ASP.NET
<asp:textbox id="txt_from" runat="server" xmlns:asp="#unknown"></asp:textbox>  
  
<asp:calendarextender xmlns:asp="#unknown">
    ID="CalendarExtender1"   
    TargetControlID="txt_from"   
    runat="server" />  
</asp:calendarextender>
 
Share this answer
 
Comments
jigish shah 1-Aug-14 2:43am    
I appriciate your solution but it is giving error of
Type 'AjaxControlToolkit.CalendarExtender' does not have a public property named 'xmlns:asp'.

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