Specified date range visible on calendar control.

Posted on 2005-04-13
Last Modified: 2010-04-07
I have a problem whereby I would like to use a calendar control to display only the two weeks of dates for which a festival runs. All dates outside this period should be set to invisible and event dates should be bold.
I have no problems specifying event dates as bold using "SelectedDayStyle" however i cannot work out how to hide events not in the two week date range..

Any ideas greatly appreciated..
Question by:dtank
    LVL 14

    Expert Comment

    this control enhancement might help:

    Author Comment

    i see the benefits of this but ideally i need the resultant control to look similar to this :
    from what i can work out this is not possible with the BetterCalendar..
    perhaps i'll just hardcode a table.. after all it is only for a two week festival. although would be nice to be able to easily reuse for subsequent years.. anyway. thanks for help dfu23.
    LVL 14

    Accepted Solution

    by the looks of the image that you gave as an example the rows that do not have dates are essentially collapsed ... if you need to replicate this with the asp:calendar control i am not sure that you can achieve it ... otherwise the style should be able to be rendered the same.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on could not pull conte…
    Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
    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…

    779 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

    15 Experts available now in Live!

    Get 1:1 Help Now