[Mono-dev] Patch for System.Web.UI.ListControl

Vladimir Krasnov vladimirk at mainsoft.com
Mon Dec 17 08:46:15 EST 2007


Hello,

Please review and approve attached patch for System.Web.UI.ListControl
that fixes the following problems in viewstate management of ListItem
and ListItemCollection:

1. Setting ListItem.Selected to true cause viewstate generation for
selected indeces even if not tracked
2. Modifying ListItem directly without touching the collection causes
failure at items restore

Look at attached tests for more details

Regards, 
Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ListBoxTest.cs.patch
Type: application/octet-stream
Size: 10771 bytes
Desc: ListBoxTest.cs.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071217/bc489c79/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ListControl.cs.patch
Type: application/octet-stream
Size: 1954 bytes
Desc: ListControl.cs.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071217/bc489c79/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ListItem.cs.patch
Type: application/octet-stream
Size: 1259 bytes
Desc: ListItem.cs.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071217/bc489c79/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ListItemCollection.cs.patch
Type: application/octet-stream
Size: 1956 bytes
Desc: ListItemCollection.cs.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071217/bc489c79/attachment-0003.obj 


More information about the Mono-devel-list mailing list