Most of the people like to give a different look and feel to the calendar control. There are two themes for Ajax Calendar. This will help you to modify your calendar view.
/* Start - Calander Styles */
.ajax__calendar_container
{padding:4px;position:absolute;cursor:default;width:170px;font-size:11px;
text-align:center;font-family:tahoma,verdana,helvetica;}
.ajax__calendar_body
{height:139px;width:170px;position:relative;overflow:hidden;margin:auto; }
.ajax__calendar_days, .ajax__calendar_months, .ajax__calendar_years
{top:0px;left:0px;height:139px;width:170px;position:absolute;
text-align:center;margin:auto;}
.ajax__calendar_container TABLE {font-size:11px;}
.ajax__calendar_header {height:20px; background-color:#63B2DB;width:100%;}
.ajax__calendar_prev
{cursor:pointer;width:15px;height:15px;float:left;
background-repeat:no-repeat;background-position:50% 50%;
background-image:
url();}
.ajax__calendar_next
{cursor:pointer;width:15px;height:15px;float:right;
background-repeat:no-repeat;background-position:50% 50%;
background-image:
url();}
.ajax__calendar_title {cursor:pointer;font-weight:bold;}
.ajax__calendar_footer {height:15px; background-color:#63B2DB;}
.ajax__calendar_today {cursor:pointer;padding-top:3px;}
.ajax__calendar_dayname {height:17px;width:18px;text-align:right;padding:0 2px;}
.ajax__calendar_day
{height:17px;width:18px;text-align:right;padding:0 2px;cursor:pointer;}
.ajax__calendar_month
{height:44px;width:40px;text-align:center;cursor:pointer;overflow:hidden;}
.ajax__calendar_year
{height:44px;width:40px;text-align:center;cursor:pointer;overflow:hidden;}
.ajax__calendar .ajax__calendar_container
{border:1px solid #646464;background-color:#ffffff;color:#000000;}
.ajax__calendar .ajax__calendar_footer {border-top:1px solid #f5f5f5;}
.ajax__calendar .ajax__calendar_dayname {border-bottom:1px solid #f5f5f5;}
.ajax__calendar .ajax__calendar_day {border:1px solid #ffffff;}
.ajax__calendar .ajax__calendar_month {border:1px solid #ffffff;}
.ajax__calendar .ajax__calendar_year {border:1px solid #ffffff;}
.ajax__calendar .ajax__calendar_active .ajax__calendar_day
{background-color:#edf9ff;border-color:#0066cc;color:#0066cc;}
.ajax__calendar .ajax__calendar_active .ajax__calendar_month
{background-color:#edf9ff;border-color:#0066cc;color:#0066cc;}
.ajax__calendar .ajax__calendar_active .ajax__calendar_year
{background-color:#edf9ff;border-color:#0066cc;color:#0066cc;}
.ajax__calendar .ajax__calendar_other .ajax__calendar_day
{background-color:#ffffff;border-color:#ffffff;color:#ffffff;cursor:default;}
.ajax__calendar .ajax__calendar_other .ajax__calendar_month
{background-color:#ffffff;border-color:#ffffff;color:#ffffff;cursor:default;}
.ajax__calendar .ajax__calendar_other .ajax__calendar_year
{background-color:#ffffff;border-color:#ffffff;color:#ffffff;cursor:default;}
.ajax__calendar .ajax__calendar_today .ajax__calendar_day
{background-color:#fff2a8;}
.ajax__calendar .ajax__calendar_hover .ajax__calendar_day
{background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;}
.ajax__calendar .ajax__calendar_hover .ajax__calendar_month
{background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;}
.ajax__calendar .ajax__calendar_hover .ajax__calendar_year
{background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;}
.ajax__calendar .ajax__calendar_hover .ajax__calendar_title {color:#0066cc;}
.ajax__calendar .ajax__calendar_hover .ajax__calendar_today {color:#0066cc;}
/* End - Calander Styles */
This is the second theme and you should use the class name inside the calendar control like this.
.aspx
.css
/*Start Cal Theme */
.cal_The .ajax__calendar_container
{
background-color: #63B2DB; border:solid 0px #cccccc;
}
.cal_The .ajax__calendar_header
{
background-color: #63B2DB; margin-bottom: 4px;
}
.cal_The .ajax__calendar_title
{
}
.cal_The .ajax__calendar_next,
.cal_The .ajax__calendar_prev
{
color: #004080; padding-top: 3px;
}
.cal_The .ajax__calendar_body
{
background-color: #FFFFFF; border: solid 1px #cccccc;
/*e9e9e9*/
}
.cal_The .ajax__calendar_dayname
{
text-align:center; font-weight:bold; margin-bottom: 4px; margin-top: 2px;
background-color: #ffffff;
}
.cal_The .ajax__calendar_day
{
text-align:center;
}
.cal_The .ajax__calendar_hover .ajax__calendar_day,
.cal_The .ajax__calendar_hover .ajax__calendar_month,
.cal_The .ajax__calendar_hover .ajax__calendar_year,
.cal_The .ajax__calendar_active
{
color: #004080; font-weight:bold; background-color: #ffffff;
}
.cal_The .ajax__calendar_today
{
font-weight:bold;
}
.cal_The .ajax__calendar_other,
.cal_The .ajax__calendar_hover .ajax__calendar_today,
.cal_The .ajax__calendar_hover .ajax__calendar_title
{
color: #bbbbbb;
}
/*End Cal Theme*/
I have added the simple example for the above style sheet as the Deepak's request.
Thursday, August 27, 2009 5:32:00 PM
Thanks for providing such css help....but if possible attach simple screen shot or image of them would be more appreciable...
Thursday, August 27, 2009 5:54:00 PM
Yes sure Deepak.I will modify my post with an image soon.I always appreciate your suggestions.
Thanks.
Saturday, August 29, 2009 7:33:00 PM
Deepak has found there was an issue with submitting comments for my posts and now it's fixed. Still any of you have this issue Please Skype me by clicking the Skype button in this blog. Do not forget to put here your suggestions and ideas. Thanks you very much Deepak and appreciate your great feedbacks.
Saturday, September 12, 2009 10:33:00 AM
Hello Prasad..thanks for providing image too in this post ...one thing i want to knew that Can we Override in these CSS styles to make Weekend Columns colors in different color to other days and Second one by making such a property to made Weekends not Click able in Ajax Calendar Extender Control...
Where as CSS given by Matt in thier blog are also awosme http://mattberseth.com/blog/2007/10/theming_the_ajaxcontroltoolkit.html
Saturday, September 12, 2009 10:56:00 PM
Hello Deepak,
I posted a new post for your request.
http://prasadmaduranga.blogspot.com/2009/09/extended-ajax-calendar-extender.html
Sorry for the delay to post this. I was very busy with my work. I will moderate the post later. I just posted the code to understand easily. Please let me know if this reaches your requirement.
Friday, November 09, 2012 2:03:00 PM
Hі there! This is my first comment here sο I just ωanteԁ tο gіve a quiсk shout out and say I genuinely enjoy reading through yοur articles.
Can you recommenԁ any otheг blοgs/wеbsitеѕ/forums that cover thе same topiсs?
Thank уоu!
My webpage : rulett programm
Friday, November 09, 2012 5:40:00 PM
Please visit http://www.prasadmaduranga.com/blog.aspx
I am active there.
Tuesday, January 15, 2013 9:45:00 PM
Post your free articles,comments and backlinks here.
http://www.business-article-directory.com
Tuesday, May 17, 2016 12:05:00 PM
Nice article.
Dotnetnuke Templates in qatar