DataList Width and CssClass property not working

Oct 6, 2010 at 4:04 AM

I have been having problems that data lists can never stretch to 100% nor any width settings, no matter with the Width property nor having a CssClass and setting it's width.

By going through the html source and CssFriendly source, I noticed that the table underneath the data list div tag has never been touched except CellPadding and Cellspacing.


At this moment I modified the source code to merge CssClass and Width into the table tag, but I would like to know if it is the expected way to have me reference the table from some other ways.


Anyone experience that same or have an idea?