2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Sat, 5 Jun 2004 05:59:21 +0000 (05:59 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Sat, 5 Jun 2004 05:59:21 +0000 (05:59 -0000)
* Calendar.cs: set the title class attribute if we have it. Fixes bug
53671.

svn path=/trunk/mcs/; revision=28857

mcs/class/System.Web/System.Web.UI.WebControls/Calendar.cs
mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog

index b9381282a8e7c0ba208a914bd0041679e4b67823..30e79a52b1808b100c15a00dc2e5a6b710dbe09d 100755 (executable)
@@ -1155,6 +1155,10 @@ namespace System.Web.UI.WebControls
                        {\r
                                table.ForeColor = ForeColor;\r
                        }\r
+
+                       if (style.CssClass != "") {
+                               cell.CssClass = style.CssClass;
+                       }
 \r
                        table.Font.CopyFrom(style.Font);\r
                        table.Font.MergeWith(Font);\r
index 8c58779ffa97a9ec1456ce128cee726aa8afe09c..47f4433b33a40247e0a2355902fd21ba95e94274 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Calendar.cs: set the title class attribute if we have it. Fixes bug
+       53671.
+
 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * Style.cs: added SetBit.