[Mono-bugs] [Bug 53671][Nor] New - Title for Calendar control

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 31 Jan 2004 09:52:01 -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 mmorano@mikeandwan.us.

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

--- shadow/53671	2004-01-31 09:52:01.000000000 -0500
+++ shadow/53671.tmp.32138	2004-01-31 09:52:01.000000000 -0500
@@ -0,0 +1,58 @@
+Bug#: 53671
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: Gentoo
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mmorano@mikeandwan.us               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Title for Calendar control
+
+Description of Problem:
+The title of the calendar control does not apply formatting specified. 
+Additionally, the title format is not according to spec for MonthYear.
+
+Steps to reproduce the problem:
+1.  Create a page with the following calendar control defined:
+
+<asp:Calendar id="calendar" 
+                runat="server"
+                FirstDayOfWeek="Sunday" 
+                Width="300" 
+                BorderStyle="none"
+                BorderWidth="0" 
+                ShowNextPrevMonth="false" 
+                DayNameFormat="FirstLetter"
+		TitleFormat="MonthYear"
+                Enabled="false">
+	<DayStyle CssClass="calendarDayStyle" />
+	<TodayDayStyle CssClass="todayHighlight" />
+	<TitleStyle CssClass="calendarTitle" />
+	<WeekendDayStyle CssClass="calendarWeekendDay" />
+  </asp:Calendar>
+
+Actual Results:
+The TitleFormat of MonthYear produces something like: "2004 January",
+rather than "January 2004".
+
+Additionally, the TitleStyle is ignored, and is displayed as the default (a
+silver background).  The css class "calendarTitle" does not appear as part
+of the resulting html, hence is not used to display the style for the title.
+
+
+Expected Results:
+Proper formatting of the MonthYear, and use of the calendarTitle css class
+for the title.
+
+How often does this happen? 
+always
+
+Additional Information: