[Mono-dev] IE ignoring bordercolor from datagrid

Carlos Solorzano carlos at applianz.com
Fri Dec 16 15:17:10 EST 2005

I have a datagrid with a bordercolor (as shown below) and for some 
reason when the html comes out (as shown below) it does not have the 
border color.

<asp:DataGrid width="100%" AutoGenerateColumns="false" BorderWidth="1px" 
CellSpacing="2" BorderStyle="None" BorderColor="#ffffff" id="Grid" 
Runat="server" CellPadding="3">

The html that comes out of XSP:

<table cellpadding="3" cellspacing="2" rules="all" border="1" id="Grid" style="border-color:#FFFFFF;border-width:1px;border-style:None;width:100%;">

The html that comes out of ms.net:
<table cellspacing="2" cellpadding="3" rules="all" bordercolor="White" border="1" id="Grid" style="border-color:White;border-width:1px;border-style:None;width:100%;">

I think that bordercolor="White" makes the big difference.


More information about the Mono-devel-list mailing list