[Mono-bugs] [Bug 60249][Cri] New - `System.Drawing.Color' does not contain a definition for `Highlight'

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 15 Jun 2004 21:57:16 -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 mweichert@wightman.ca.

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

--- shadow/60249	2004-06-15 21:57:16.000000000 -0400
+++ shadow/60249.tmp.7025	2004-06-15 21:57:16.000000000 -0400
@@ -0,0 +1,74 @@
+Bug#: 60249
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Gentoo
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: Sys.Drawing.
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mweichert@wightman.ca               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: `System.Drawing.Color' does not contain a definition for `Highlight'
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+ `System.Drawing.Color' does not contain a definition for `Highlight'
+
+
+Steps to reproduce the problem:
+1. Create an asp page in vs.net with a calendar control. Copy this page to
+linux.
+
+Actual Results:
+private System.Web.UI.Control __BuildControl_Calendar1() {
+Line 131:             System.Web.UI.WebControls.Calendar __ctrl;
+Line 132:             __ctrl = new System.Web.UI.WebControls.Calendar();
+Line 133:             this.Calendar1 = __ctrl;
+Line 134:             __ctrl.ID = "Calendar1";
+Line 135:             __ctrl.BackColor = System.Drawing.Color.White;
+Line 136:             __ctrl.BorderStyle =
+System.Web.UI.WebControls.BorderStyle.Solid;
+Line 137:             __ctrl.ForeColor = System.Drawing.Color.Gray;
+Line 138:             __ctrl.BorderColor = System.Drawing.Color.Highlight;
+Line 139:             this.__BuildControl__bctrl_2(__ctrl.TodayDayStyle);
+Line 140:             this.__BuildControl__bctrl_3(__ctrl.DayStyle);
+Line 141:             this.__BuildControl__bctrl_4(__ctrl.DayHeaderStyle);
+Line 142:             this.__BuildControl__bctrl_5(__ctrl.SelectedDayStyle);
+Line 143:             this.__BuildControl__bctrl_6(__ctrl.TitleStyle);
+Line 144:             this.__BuildControl__bctrl_7(__ctrl.WeekendDayStyle);
+Line 145:             return __ctrl;
+Line 146:         }
+
+Expected Results:
+A calendar to display
+
+
+How often does this happen? 
+Every time
+
+Additional Information:
+This is the calendar control I used:
+
+ <asp:Calendar id="Calendar1" runat="server" BackColor="White"
+ForeColor="Gray" Borde$                                               
+BorderColor="Highlight">
+                                                <TodayDayStyle
+ForeColor="Navy" BackColor="LightSteelBlue"></TodayDayStyle>
+                                                <DayStyle
+BackColor="White"></DayStyle>
+                                                <DayHeaderStyle
+BackColor="Transparent"></DayHeaderStyle>
+                                                <SelectedDayStyle
+ForeColor="Navy" BackColor="Transparent"></SelectedDayStyl$               
+                                <TitleStyle ForeColor="AliceBlue"
+BackColor="SteelBlue"></TitleStyle>
+                                                <WeekendDayStyle
+BackColor="White"></WeekendDayStyle>
+                                        </asp:Calendar>