Can the ASP .Net 2.0 Calendar control select multiple dates with multiple colors?

I know I can select multiple dates on the Calendar control. However, can each of the selections have different colors? For example: birthdays = blue, wedding dates = green, company events = pink, family picnics = yellow and so on.
gtrappAsked:
Who is Participating?
 
AswinKrishnanConnect With a Mentor Commented:
yes , you can specify different colours for different days

you can specify a function like  ondayrender="Function" in calendar control

for more info check the links :
http://odetocode.com/Articles/223.aspx
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.calendar.dayrender(VS.80).aspx
0
 
gtrappAuthor Commented:
Thanks.

I have some of the colors on the calendar working. When I select a date on the calendar, the other colored selection go away. Is this because of post backs?
0
 
AswinKrishnanConnect With a Mentor Commented:
it can be because of postbacks or it can be due to any other reason, may be, if you can post your code we can find the reason.

0
 
gtrappAuthor Commented:
Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.