I'm trying to remove the borders from a datagrid on an ASP.NET control. The control is a custom field template for a dynamic data website (if that matters) and is nested inside another datagrid. The problem is that whatever I do, it still has the same border styling as the outer data grid. I've tried setting in in the ASCX, in the code-behind, etc... all to no avail. Here's the relevant part of the ASCX:
<asp:DataGrid AllowSorting="true" AutoGenerateColumns="false" Enabled="true" ID="dataGrid" runat="server"
OnItemDataBound="gridView_onRowDataBound" HeaderStyle-Font-Bold="true" ItemStyle-Font-Names="courier new"
GridLines="None" CellPadding="0" CellSpacing="0" BorderWidth="0px" BorderStyle="None" ItemStyle-Font-Size="10"
ItemStyle-BorderWidth="0px" ItemStyle-BorderStyle="None" PageSize="200" AllowPaging="false" ItemStyle-Wrap="false"
AlternatingItemStyle-BorderWidth="0px" AlternatingItemStyle-BorderStyle="None">
As you can see, I've tried everything to get rid of the lines and they still stick around. Here's a picture of what it looks like:
BTW, I just want to get rid of the grid lines on the inner grid, the outer grid I don't really care.