Calendar Control Styling

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guillaume Roy

    #1

    Calendar Control Styling

    Hi,

    I am running into a few worrying problems with the
    ASP.NET calendar control. Styling is the problematic
    issue. Any info you could provide to help me would be
    greatly appreciated.

    The TitleStyle.Fore color property doesn't work no matter
    how I try to set it. Directly in the aspx page,
    programmaticall y on the calendar object in C# or using a
    stylesheet class and the CssClass property, nothing
    works. From what I have read across the internet, this is
    a widespread problem. Is there any way to bypass this bug
    you might have heard of? I was thinking of using some
    override render method on the calendar, something similar
    to onDayRender but this is not my area of expertise and
    so far I have had no success.
    Is there any way to put a background image on the
    TitleStyle cell? I have already used the
    e.Cell.AddAttri bute() method to do something similar in
    my onDayRender cell but I can't find how to get to the
    Title cell object.
    Basically, I am looking for any tips on how to freely
    style the calendar control Title and NextPrev areas
    without having to code brand new controls by myself.

    Thanks in advance,


    Guillaume Roy
    Analyst-Programmer

Working...