469,648 Members | 1,153 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,648 developers. It's quick & easy.

Calendar Control Styling


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.Forecolor property doesn't work no matter
how I try to set it. Directly in the aspx page,
programmatically 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.AddAttribute() 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

Jul 21 '05 #1
0 1238

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Tim Graichen | last post: by
5 posts views Thread by Miguel Dias Moura | last post: by
1 post views Thread by bill yeager | last post: by
2 posts views Thread by Caesar Augustus | last post: by
reply views Thread by Guillaume Roy | last post: by
3 posts views Thread by Peter | last post: by
4 posts views Thread by rushikesh.joshi | last post: by
7 posts views Thread by John Kotuby | last post: by
3 posts views Thread by thorpk | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.