[Mono-dev] Debian Mono asp:Calendar DayStyle-CssClass error

barrct chris at nabor.com
Tue Apr 23 21:03:58 UTC 2013


While looking at the calendar class, trying to track down the seemingly
missing CssClass object I am thinking that I am not the first person to use
CSS for calendar display, that there is just something that I’m missing.

To me, it looks like, according to the calendar class, a calendar day(cell)
is a TableCell, and that the TableCell is what should contain the CssClass
object, at least it does on the MSDN and how I'm accessing it
"e.Cell.CssClass". Unfortunately I do not see any reference to a CssClass
object in the TableCell class. If I’m correct that means that no table cells
contain a CssClass object, but that’s unrealistic since I’m sure that
someone would have reported that already.
I'm Guessing that a TableCell inherits the WebControl that contains the
style object of the Style class. It looks like accessing Cell.CssClass is
all in place, but where exactly would the style init exist in the calendar
class? The calendar seems to be originally rendered correctly but the object
is not persistent after the initial display.

Does that make sense?

I'd rather not put a bug in if I'm just missing something simple. Also, if
it is a bug that would block the usability of mono completely and I'd rather
not have to do that and go back to a Windows server.



--
View this message in context: http://mono.1490590.n4.nabble.com/Debian-Mono-asp-Calendar-DayStyle-CssClass-error-tp4659467p4659468.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list