[Mono-bugs] [Bug 66159][Wis] New - empty 'rules' attribute is being rendered with the <asp:DataList> class.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 17 Sep 2004 07:15:32 -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 chris@turchin.net.
http://bugzilla.ximian.com/show_bug.cgi?id=66159
--- shadow/66159 2004-09-17 07:15:32.000000000 -0400
+++ shadow/66159.tmp.22877 2004-09-17 07:15:32.000000000 -0400
@@ -0,0 +1,141 @@
+Bug#: 66159
+Product: Mono: Class Libraries
+Version: unspecified
+OS: SUSE 9.1
+OS Details: running from CVS HEAD
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: chris@turchin.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: empty 'rules' attribute is being rendered with the <asp:DataList> class.
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+empty 'rules' attribute is being rendered with the <asp:DataList> class.
+see datalist.aspx in the samples for xsp...
+
+see also:
+/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog:
+ bug #49408. Don't render empty 'rules' attribute.
+
+Steps to reproduce the problem:
+1. run datalist.aspx
+2. view source
+
+Actual Results:
+
+<HTML>
+
+ <HEAD>
+
+ <title>DataList</title>
+
+
+
+ </HEAD>
+
+ <body>
+
+ <h3>Datalist sample</h3>
+
+ <form name="Form1" method="post" action="datalist.aspx" enctype=""
+id="Form1">
+<input type="hidden" name="__VIEWSTATE"
+value="DA0ADgEFAQ4BDQAOAQUBDgENEAgMDA4DAQhEYXRhS2V5cwELXyFJdGVtQ291bnQBB0VuYWJsZWQOAw4DBQAFAQUCBQMIAAAAAAAAAAAOAwUABQEFAg4DDQwMDgECAgAOAQgADgEFAQ4BDQwMDgMBCEltYWdlVXJsAQtOYXZpZ2F0ZVVybAICAA4DAR10aHVtYm5haWwuYXNoeD9maWxlbmFtZT1TcGFpbgEFU3BhaW4IAAAADQwMDgECAgAOAQgADgEFAQ4BDQwMDgMCAwACBAACAgAOAwEddGh1bWJuYWlsLmFzaHg/ZmlsZW5hbWU9SmFwYW4BBUphcGFuCAAAAA0MDA4BAgIADgEIAA4BBQEOAQ0MDA4DAgMAAgQAAgIADgMBHnRodW1ibmFpbC5hc2h4P2ZpbGVuYW1lPU1leGljbwEGTWV4aWNvCAAAAAA="
+/>
+
+
+ <table id="dl" cellspacing="0" rules="" border="0"
+style="border-collapse:collapse;"><tr><td>
+
+ <a id="dl__ctrl0a_Hyperlink1" href="Spain"><img
+src="thumbnail.ashx?filename=Spain" border="0" /></a>
+
+ </td><td>
+
+ <a id="dl__ctrl1a_Hyperlink1" href="Japan"><img
+src="thumbnail.ashx?filename=Japan" border="0" /></a>
+
+ </td><td>
+
+ <a id="dl__ctrl2a_Hyperlink1" href="Mexico"><img
+src="thumbnail.ashx?filename=Mexico" border="0" /></a>
+
+ </td>
+</tr>
+</table>
+
+ </form>
+
+ </body>
+
+</HTML>
+
+
+
+
+Expected Results:
+
+<HTML>
+
+ <HEAD>
+
+ <title>DataList</title>
+
+
+
+ </HEAD>
+
+ <body>
+
+ <h3>Datalist sample</h3>
+
+ <form name="Form1" method="post" action="datalist.aspx" enctype=""
+id="Form1">
+<input type="hidden" name="__VIEWSTATE"
+value="DA0ADgEFAQ4BDQAOAQUBDgENEAgMDA4DAQhEYXRhS2V5cwELXyFJdGVtQ291bnQBB0VuYWJsZWQOAw4DBQAFAQUCBQMIAAAAAAAAAAAOAwUABQEFAg4DDQwMDgECAgAOAQgADgEFAQ4BDQwMDgMBCEltYWdlVXJsAQtOYXZpZ2F0ZVVybAICAA4DAR10aHVtYm5haWwuYXNoeD9maWxlbmFtZT1TcGFpbgEFU3BhaW4IAAAADQwMDgECAgAOAQgADgEFAQ4BDQwMDgMCAwACBAACAgAOAwEddGh1bWJuYWlsLmFzaHg/ZmlsZW5hbWU9SmFwYW4BBUphcGFuCAAAAA0MDA4BAgIADgEIAA4BBQEOAQ0MDA4DAgMAAgQAAgIADgMBHnRodW1ibmFpbC5hc2h4P2ZpbGVuYW1lPU1leGljbwEGTWV4aWNvCAAAAAA="
+/>
+
+
+ <table id="dl" cellspacing="0" border="0"
+style="border-collapse:collapse;"><tr><td>
+
+ <a id="dl__ctrl0a_Hyperlink1" href="Spain"><img
+src="thumbnail.ashx?filename=Spain" border="0" /></a>
+
+ </td><td>
+
+ <a id="dl__ctrl1a_Hyperlink1" href="Japan"><img
+src="thumbnail.ashx?filename=Japan" border="0" /></a>
+
+ </td><td>
+
+ <a id="dl__ctrl2a_Hyperlink1" href="Mexico"><img
+src="thumbnail.ashx?filename=Mexico" border="0" /></a>
+
+ </td>
+</tr>
+</table>
+
+ </form>
+
+ </body>
+
+</HTML>
+
+How often does this happen?
+
+always
+
+Additional Information:
+
+html is not 4.01 transitional conform with empty 'rules' attribute