User-2126029614 posted
Hello all, I am trying to do some simple formatting of a calendar control using stylesheets. I cannot use the built in formatting properties like "BackgroundColor" and "Font-Size" because the calendar must be "skinnable" based on an external .css stylesheet.
So, I'm defining my calendar control and setting the CssClass property for each of the style objects to a valid class. This works fine with all of the styles except TitleStyle. This guy will not apply a CssClass!! Here's an uber-simple sample:
<asp:Calendar Runat="server" ID="_calCalendar" CssClass="DatePicker" ShowTitle="True"> <TitleStyle CssClass="DatePickerTitle" /> </asp:Calendar>
My "DatePickerTitle" class just sets the background color. However it ain't rendering with that color. If I set the style properties right there in the tag, it works fine. Any ideas? I'm going insane here! - Brian