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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir Krasnov Sent: Monday, March 27, 2006 6:21 PM To: mono-devel-list@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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
DataList.cs.patch
Description: DataList.cs.patch
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list