This is most likely a .css issue. The AJAX Calendar Extender takes its formatting cues from your .css file. If you have "table" formatting in your .css file, then Calendar Extendar uses this formatting - so table formatting is causing the Extender to "grow"
and therefore all of the days in the month selected will not be visible. So, you can either remove all of the table padding:
I have given the height to only the calendarbody css class so that it will get effected throught the website, if you use the control at various places.
intelligents
Member
51 Points
138 Posts
calendar extender not showing all days
Jun 05, 2008 07:23 AM|LINK
My calendar extender not showing all dates.
Dates after 20th are getting hided under Todays date
Gaucho
Participant
892 Points
240 Posts
Re: calendar extender not showing all days
Jun 05, 2008 01:23 PM|LINK
This is most likely a .css issue. The AJAX Calendar Extender takes its formatting cues from your .css file. If you have "table" formatting in your .css file, then Calendar Extendar uses this formatting - so table formatting is causing the Extender to "grow" and therefore all of the days in the month selected will not be visible. So, you can either remove all of the table padding:
Before:
#content table
{
border: dotted 1px #cacaca;
padding: 0.25em;
margin-bottom: 1em;
}
After:
#content table
{
border: dotted 1px #cacaca;
padding: 0em;
margin-bottom: 0em;
}
....and then ALL of your tables will take this formatting. Or, you can attempt to tweak Calendar Extender with it's own .css formatting.
Mark Duffill
Member
2 Points
6 Posts
Re: calendar extender not showing all days
Jan 22, 2010 03:11 PM|LINK
I had the same problem and found the fix was to make the calendar taller and wider:
/* see http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx for calendar picker styles */
.CalendarDatePicker .ajax__calendar_container
{
border:1px solid #646464;
background-color: lemonchiffon;
color: #ad0b08;
width:22em;
}
.CalendarDatePicker .ajax__calendar_body
{
width:22em;
height:15em;
}
Shame this bug is still in the latest release!
psuragana
Member
4 Points
4 Posts
Re: calendar extender not showing all days
Nov 07, 2012 10:15 AM|LINK
thankyou for the CSS fix. it worked.
I have given the height to only the calendarbody css class so that it will get effected throught the website, if you use the control at various places.
.ajax__calendar_body
{
height:15em;
}
Thanks,
Pavan
MCTS
Suragana_pavan@yahoo.com