T
tshad
Why is the Datagrid creating a multiple border attribute?
With this code:
<asp
ataGrid AllowPaging="true"
AllowCustomPaging="false"
PageSize="4"
PagerStyle-Visible="false"
visible="false"
AllowSorting="True"
AutoGenerateColumns="false"
CellPadding="3"
CellSpacing="0"
ID="DataGrid2"
runat="server"
ShowFooter="false"
ShowHeader="true"
OnSortCommand="SortDataGrid"
border="1"
BorderColor="#999999"
style="margin:auto;">
I am getting this:
<table cellspacing="0" cellpadding="3" rules="all" border="1"
bordercolor="#999999" border="1" id="DataGrid1" style="margin: auto; ">
Why am I getting 2 Border attributes?
This is causing some of my code to work funny.
Thanks,
Tom
With this code:
<asp
AllowCustomPaging="false"
PageSize="4"
PagerStyle-Visible="false"
visible="false"
AllowSorting="True"
AutoGenerateColumns="false"
CellPadding="3"
CellSpacing="0"
ID="DataGrid2"
runat="server"
ShowFooter="false"
ShowHeader="true"
OnSortCommand="SortDataGrid"
border="1"
BorderColor="#999999"
style="margin:auto;">
I am getting this:
<table cellspacing="0" cellpadding="3" rules="all" border="1"
bordercolor="#999999" border="1" id="DataGrid1" style="margin: auto; ">
Why am I getting 2 Border attributes?
This is causing some of my code to work funny.
Thanks,
Tom