[Mono-bugs] [Bug 75936][Min] New - Problem with AlternatingRowStyle
in Gridview
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Aug 30 08:11:08 EDT 2005
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 jblais at perinfo.biz.
http://bugzilla.ximian.com/show_bug.cgi?id=75936
--- shadow/75936 2005-08-30 08:11:08.000000000 -0400
+++ shadow/75936.tmp.25727 2005-08-30 08:11:08.000000000 -0400
@@ -0,0 +1,54 @@
+Bug#: 75936
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Red Hat 7.3
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: Sys.Web
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: jblais at perinfo.biz
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Problem with AlternatingRowStyle in Gridview
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When i set the RowStyle->CssClass and AlternatingRowStyle->CssClass
+property of a gridview, a problem occurs in the generated code.
+The lines contains two class tags with the value specified in the 2 properties.
+For example :
+<asp:GridView runat="server" ID="ListeDossiers" GridLines="Vertical"
+AutoGenerateColumns="false" OnRowCommand="ListeDossier_Command">
+ <HeaderStyle CssClass="ligne_header" />
+ <RowStyle CssClass="ligne1" />
+ <AlternatingRowStyle CssClass="ligne2" />
+ <Columns>
+ ...
+ </Columns>
+</asp:GridView>
+
+The first line is generated as <tr class="ligne1"> stuff </tr>.
+The second one is generated as <tr class="ligne1" class="ligne2"> stuff </tr>
+
+
+Steps to reproduce the problem:
+1. Use the code below in an aspx page
+2. view the page
+3.
+
+Actual Results:
+The class property of the <tr> is duplicated.
+
+Expected Results:
+The class property should appear once with the correct value.
+
+How often does this happen?
+Every time
+
+Additional Information:
More information about the mono-bugs
mailing list