* ListItemCollection.cs: fixed bug when indexing changed elements in
LoadViewState. Patch from Alois B��la��ka.
svn path=/trunk/mcs/; revision=35297
+2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * ListItemCollection.cs: fixed bug when indexing changed elements in
+ LoadViewState. Patch from Alois Bělaška.
+
2004-10-20 Sanjay Gupta <gsanjay@novell.com>
* SiteMapDataSourceView.cs:
end = indices.Count;\r
for (i = 0; i < end; i++) {\r
if ((int) indices [i] < Count ) {\r
- this [i].LoadViewState (states [i]);\r
+ this [(int) indices [i]].LoadViewState (states [i]);\r
} else {\r
ListItem temp = new ListItem ();\r
temp.LoadViewState (states [i]);\r