[Mono-bugs] [Bug 58097][Nor] New - WebControls.Calendar doesn't render cell text per MS example
Wed, 5 May 2004 19:08:07 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by email@example.com.
--- shadow/58097 2004-05-05 19:08:07.000000000 -0400
+++ shadow/58097.tmp.30430 2004-05-05 19:08:07.000000000 -0400
@@ -0,0 +1,51 @@
+Product: Mono: Class Libraries
+Summary: WebControls.Calendar doesn't render cell text per MS example
+Description of Problem:
+The example C# code at
+does not, in Mono, result in "Holiday" being rendered inside the cell for
+the 18th day of the given month.
+This appears to be because controls added to the DayRenderEventArgs object
+associated with a calendar date are never rendered with the calendar cell.
+Steps to reproduce the problem:
+1. Copy and paste the C# code from the linked page into a .aspx file
+2. Render the page via xsp
+A calendar is rendered without the text "Holiday"
+"Holiday" is rendered in the cell for the 18th day of the month.
+How often does this happen?
+Attempted removing the conditional (such that e.Cell.Controls.Add(new
+LiteralControl("<br>Holiday")); was evaluated during every DayRender
+event). The relevant text still never showed up, leading me to believe that
+controls placed here are simply not being rendered with the calendar.