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

Posted on 2008-11-05
Last Modified: 2013-12-17
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.
Question by:gtrapp
    LVL 3

    Accepted Solution

    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 :

    Author Comment


    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?
    LVL 3

    Assisted Solution

    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.


    Author Closing Comment

    Thank you.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now