[Mono-dev] Bug in System.Web.UI.WebControl.DataList in InitializeItem

Vladimir Krasnov vladimirk at mainsoft.com
Sun Feb 19 07:58:24 EST 2006


Hello,

There is a bug in InitializeItem, while applying template to an item. If
item's type is SelectedItem and SelectedItemTemplate is not specified,
after rendering the item will be invisible. The same about EditItem.

Test case URL:
/System_Web_UI_WebControls/DataList/DataList_EditItemStyle.aspx
/System_Web_UI_WebControls/DataList/DataList_SelectedItemStyle.aspx

Please approve the attached patch
If no one objects, I will commit.

Vladimir Krasnov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataList.cs.4.patch
Type: application/octet-stream
Size: 637 bytes
Desc: DataList.cs.4.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060219/f25f876f/attachment.obj 


More information about the Mono-devel-list mailing list