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

Vladimir Krasnov vladimirk at mainsoft.com
Mon Mar 27 11:21:16 EST 2006


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:

Vladimir Krasnov

More information about the Mono-devel-list mailing list