зеркало из https://github.com/mono/mail-archives.git
117 строки
4.3 KiB
HTML
117 строки
4.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 46472][Nor] New - ASP.NET : ControlCollection.AddAt can not append new element to end of collection
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="006413.html">
|
|
<LINK REL="Next" HREF="006415.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 46472][Nor] New - ASP.NET : ControlCollection.AddAt can not append new element to end of collection
|
|
</H1>
|
|
<B>bugzilla-daemon@rocky.ximian.com
|
|
</B>
|
|
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 46472][Nor] New - ASP.NET : ControlCollection.AddAt can not append new element to end of collection">bugzilla-daemon@rocky.ximian.com
|
|
</A><BR>
|
|
<I>Wed, 16 Jul 2003 15:55:47 -0400 (EDT)</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="006413.html">[Mono-bugs] [Bug 46363][Wis] Changed - mcs gives sigsegv (mini:6676)
|
|
</A></li>
|
|
<LI> Next message: <A HREF="006415.html">[Mono-bugs] Response requested
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#6414">[ date ]</a>
|
|
<a href="thread.html#6414">[ thread ]</a>
|
|
<a href="subject.html#6414">[ subject ]</a>
|
|
<a href="author.html#6414">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>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 <A HREF="mailto:eric@veltman.nu.">eric@veltman.nu.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=46472">http://bugzilla.ximian.com/show_bug.cgi?id=46472</A>
|
|
|
|
--- shadow/46472 Wed Jul 16 15:55:47 2003
|
|
+++ shadow/46472.tmp.28747 Wed Jul 16 15:55:47 2003
|
|
@@ -0,0 +1,53 @@
|
|
+Bug#: 46472
|
|
+Product: Mono/Class Libraries
|
|
+Version: unspecified
|
|
+OS: SuSE 8.0
|
|
+OS Details:
|
|
+Status: NEW
|
|
+Resolution:
|
|
+Severity:
|
|
+Priority: Normal
|
|
+Component: System.Web
|
|
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+ReportedBy: <A HREF="mailto:eric@veltman.nu">eric@veltman.nu</A>
|
|
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+TargetMilestone: ---
|
|
+URL:
|
|
+Cc:
|
|
+Summary: ASP.NET : ControlCollection.AddAt can not append new element to end of collection
|
|
+
|
|
+Description of Problem:
|
|
+ControlCollection.AddAt can not append new element to end of collection.
|
|
+With the Microsoft .NET Framework 1.1 it can.
|
|
+
|
|
+Steps to reproduce the problem:
|
|
+Create an aspx page with a WebControls.Table named "tblMain".
|
|
+In the aspx page add 2 rows to the table.
|
|
+In the code behind file, put the following code in Page_Load :
|
|
+
|
|
+int NewRowIndex = tblMain.Rows.Count;
|
|
+tblMain.Rows.AddAt(NewRowIndex, new TableRow());
|
|
+tblMain.Rows[NewRowIndex].Cells.Add(new TableCell());
|
|
+tblMain.Rows[NewRowIndex].Cells.Add(new TableCell());
|
|
+tblMain.Rows[NewRowIndex].Cells.Add(new TableCell());
|
|
+tblMain.Rows[NewRowIndex].Cells.Add(new TableCell());
|
|
+tblMain.Rows[NewRowIndex].Cells[0].Text = "Hello world !";
|
|
+
|
|
+Compile and request the page using the browser.
|
|
+
|
|
+Actual Results:
|
|
+System.ArgumentOutOfRangeException: Argument is out of range
|
|
+Parameter name: index out of range
|
|
+in <0x00077> 00 System.Collections.ArrayList:set_Item (int,object)
|
|
+in <0x000d6> 00 System.Web.UI.ControlCollection:AddAt
|
|
+(int,System.Web.UI.Control)
|
|
+etc. etc.
|
|
+
|
|
+Expected Results:
|
|
+Correctly rendered table.
|
|
+
|
|
+How often does this happen?
|
|
+Always.
|
|
+
|
|
+Additional Information:
|
|
+Mono 0.25 / xsp 0.4 ( compiled from released version, not from CVS )
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="006413.html">[Mono-bugs] [Bug 46363][Wis] Changed - mcs gives sigsegv (mini:6676)
|
|
</A></li>
|
|
<LI> Next message: <A HREF="006415.html">[Mono-bugs] Response requested
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#6414">[ date ]</a>
|
|
<a href="thread.html#6414">[ thread ]</a>
|
|
<a href="subject.html#6414">[ subject ]</a>
|
|
<a href="author.html#6414">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|