[Mono-bugs] [Bug 53372][Wis] New - System.Web.UI.WebControls.Calendar Render not working right

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 26 Jan 2004 18:49:27 -0500 (EST)


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 chris@turchin.net.

http://bugzilla.ximian.com/show_bug.cgi?id=53372

--- shadow/53372	2004-01-26 18:49:27.000000000 -0500
+++ shadow/53372.tmp.12859	2004-01-26 18:49:27.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 53372
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: chris@turchin.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Web.UI.WebControls.Calendar Render not working right
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+
+Description of Problem:
+System.Web.UI.WebControls.DayRenderEventHandler modifications to e.Cell are
+not showing up in web:
+
+e.Cell.Controls.Clear();
+HyperLink link = new HyperLink();
+link.Text = e.Day.DayNumberText;
+link.NavigateUrl = "Default.aspx?date=" + e.Day.Date.ToString("s");
+e.Cell.Controls.Add(link);
+
+Steps to reproduce the problem:
+1. see attached code
+
+Actual Results:
+
+modifications made during DayRenderEventHandler are not showing up in the
+control on the page... specifically, the URL associated with 4 days defined
+in testcal_PreRender() should be different...
+
+Expected Results:
+
+!Actual Results...
+
+How often does this happen? 
+
+always...
+
+Additional Information:
+
+see attached files for test case... I am kinda wondering if this is a hosed
+install since this used to work, but would like if someone could test this
+code elsewhere and confirm...