[Mono-dev] Question about System.Web.UI.WebControls.DataList

Vladimir Krasnov vladimirk at mainsoft.com
Sat Apr 8 15:22:20 EDT 2006


Hello, 

Since no one answered me, I suggest removing this method and all calls
to it. Please approve the attached patch. If no one objects I will
commit.

Vladimir Krasnov


-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Vladimir
Krasnov
Sent: Monday, March 27, 2006 6:21 PM
To: mono-devel-list at lists.ximian.com
Cc: Gonzalo Paniagua Javier
Subject: [Mono-dev] Question about System.Web.UI.WebControls.DataList

Hello,

There is ApplyControlStyle method in DataList class. This method called
every time a style applied to a ListItem and it applies style only if
ItemTemplate has a table. Sometimes, when the style of the template's
table is different from style of ItemStyle, the style of table is
overwritten. I've commented out this method and everything continued
working well (this also fixed the problem), so my question is what for
is this method is needed?

You can look at the test case:
/System_Web_UI_WebControls/DataList/DataList_ExtractTemplateRows.aspx

Vladimir Krasnov
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataList.cs.patch
Type: application/octet-stream
Size: 2222 bytes
Desc: DataList.cs.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060408/5b66201a/attachment.obj 


More information about the Mono-devel-list mailing list