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

barrct chris at nabor.com
Tue Apr 23 17:51:08 UTC 2013

I have built a "web site" project on Windows and am deploying it to a Debian
server (mono info at the end).
There is a <asp:Calendar object that defines DayStyle-CssClass="weekday"
(also tested <DayStyle CssClass="weekday" /> outside of the calendar tag)
that ignores the setting object it's acccessed in mono.

This is a severely emptied function so I know that it's not actually doing
The issue is that in Windows MS.NET e.Cell.CssClass contains the value from
DayStyle-CssClass, in mono DayStyle-CssClass is empty string.

protected void calendar_DayRender_onMouseover(object sender,
DayRenderEventArgs e)
        string mouseOutStyle = "this.className='" + e.Cell.CssClass + "'";

On page load the styles are applied correctly, but the
OnDayRender="calendar_DayRender_onMouseover" tries to access the object it's

Obviously there's a different object/path/name that needs to be accessed to
access the same DayStyle-CssClass data, I just have no idea what it is.

Are there are ideas on how to get this to be accessible?

Mono JIT compiler version (Debian
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors.
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            Included Boehm (with typed GC and Parallel Mark)

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

More information about the Mono-devel-list mailing list