[Mono-bugs] [Bug 48807][Maj] Changed - Repeater Bug

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 24 Sep 2003 09:15:37 -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 yaronsh@mainsoft.com.

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

--- shadow/48807	2003-09-24 08:25:19.000000000 -0400
+++ shadow/48807.tmp.29623	2003-09-24 09:15:37.000000000 -0400
@@ -46,6 +46,17 @@
 Created an attachment (id=5414)
 db for binding purposes
 
 
 ------- Additional Comments From yaronsh@mainsoft.com  2003-09-24 08:25 -------
 I suspect the Items of the repeater are not saved or loaded properly
+
+------- Additional Comments From yaronsh@mainsoft.com  2003-09-24 09:15 -------
+I think that at Repeater.CreateControlHierarchy() there is 
+a missing code that saves the items count after the loot that
+created the repeater items.
+the code should be at the end of the method:
+    if(useDataSource)
+       ViewState[ITEMCOUNT] = (ds==null?-1:index);
+
+BUT!!! It didn't solve the bug!! (Though it should be there anyway)
+