[Mono-bugs] [Bug 78330][Nor] New - [2.0] Incorrect enumeration member values for DataControlRowState

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun May 7 22:42:35 EDT 2006


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 grendello at gmail.com.

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

--- shadow/78330	2006-05-07 22:42:35.000000000 -0400
+++ shadow/78330.tmp.18405	2006-05-07 22:42:35.000000000 -0400
@@ -0,0 +1,25 @@
+Bug#: 78330
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: grendello at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [2.0] Incorrect enumeration member values for DataControlRowState
+
+Currently DataControlRowState.Normal is set to 0 which causes comparisons like
+
+(row.State & DataControlRowState.Normal) != 0
+
+to always fail. As the result, rowStyle in GridView was never applied to
+rows in the Normal state. The attached patch sets Normal to 1 and shifts
+the other elements one bit field left. That fixes the issue.


More information about the mono-bugs mailing list