Special Days + previous month's days

2 posts, 0 answers
  1. Phillip Foster
    Phillip Foster avatar
    58 posts
    Member since:
    Apr 2010

    Posted 06 Jun 2011 Link to this post

    Ok, I'm not sure how to explain this, but, I have a list of "Special Days" that span 2 weeks on both sides of the displayed calendar.

    For days that are "vacation" the image shown is the plane. However if the last days of the previous month is also a vacation day. The images do not show up. (See image attached).

    Any work around for this?

  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 09 Jun 2011 Link to this post

    Hello Phillip Foster,

    Thank you for your question.

    Template items are not displayed in previous month cells, so if you are setting the plane image via the TemplateItem property, this might be the reason why you do not see the images. To get images in previous month cells, I suggest using the Image property of the special days:
    this.radCalendar1.SpecialDays[i].Image = Image.FromFile(@"C:\image.png");

    I hope this helps. Feel free to ask if you have any additional questions.

    Ivan Todorov
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
  3. DevCraft banner
Back to Top