[Mono-bugs] [Bug 43823][Nor] New - DataGrid AlternatingItemStyle-BackColor doesn't work
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Wed, 28 May 2003 15:41:12 -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 ljones@lithonia.com.
http://bugzilla.ximian.com/show_bug.cgi?id=43823
--- shadow/43823 Wed May 28 15:41:12 2003
+++ shadow/43823.tmp.24357 Wed May 28 15:41:12 2003
@@ -0,0 +1,82 @@
+Bug#: 43823
+Product: Mono/Runtime
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: ljones@lithonia.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DataGrid AlternatingItemStyle-BackColor doesn't work
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem: DataGrid AlternatingItemStyle-BackColor doesn't
+work. The color doesn't show up at all.
+
+
+Steps to reproduce the problem:
+1.Here is listing:
+<%@ Import Namespace="System.Data.SqlClient" %>
+<%@ Page Language="C#" %>
+
+<Script Runat="Server">
+
+void Page_Load(object o, EventArgs e)
+{
+ if (!IsPostBack) {
+ SqlConnection conPubs;
+ SqlCommand cmdSelect;
+
+ conPubs = new SqlConnection( "Server=HYDAPPS1;User
+ID=sa;Password=bo23zo;Database=Pubs" );
+ cmdSelect = new SqlCommand( "Select * From Titles", conPubs );
+ conPubs.Open();
+ dgrdTitles.DataSource = cmdSelect.ExecuteReader();
+ dgrdTitles.DataBind();
+ conPubs.Close();
+ }
+}
+
+</Script>
+
+<html>
+<head><title>DataGridStyles.aspx</title></head>
+<body>
+<form Runat="Server">
+
+<asp:DataGrid
+ ID="dgrdTitles"
+ CellPadding="10"
+ HeaderStyle-Font-Name="Arial"
+ HeaderStyle-Font-Bold="True"
+ HeaderStyle-BackColor="lightyellow"
+ ItemStyle-Font-Name="Arial"
+ ItemStyle-Font-Size="10pt"
+ AlternatingItemStyle-BackColor="lightblue"
+ Runat="Server" />
+
+</form>
+</body>
+</html>
+
+2.
+3.
+
+Actual Results:
+No color in alternating item
+
+Expected Results:
+color
+
+How often does this happen?
+always
+
+Additional Information: