Wednesday, March 21, 2012

CalendarExtender not shows days of month

I have a CalendarExtender in my page and the days are not showed, only the current month. My code is:

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:ImageButton runat="Server" ID="ImageButton1" ImageUrl="~/App_Themes/Fruits/Images/Calendar_scheduleHS.png" AlternateText="Click to show calendar" /><ajaxToolkit:CalendarExtender ID="calendarButtonExtender" runat="server" TargetControlID="TextBox1" CssClass="MyCalendar" Format="dd/mm/yyyy" PopupButtonID="ImageButton1" PopupPosition="BottomRight"></ajaxToolkit:CalendarExtender>

I am not sure but try using dd/MM/yyyy as the format, as mm denotes minutes.


I have changed the format but the problem remains. I believe that the problem is due to style sheet because I am using an asp.net starter kit and I have had other problems with ajax controls. Their behaviour is different like AJAX samples.

Any idea?


Hi Cabezas,

How about create a new page and only put the necessary parts to the page? If it doesn't work, please check yourweb.config settings. Also, I suggest that you should change your timezone and have a test.

Best regards,

Jonathan

No comments:

Post a Comment