여기에 GridView에서 어려움을 겪고 있습니다. 클라이언트가 셀 사이에 간격을 두도록 요청했는데 일반적으로 CellSpacing = "5"를 사용하지만 작동하지 않는 것으로 보입니다. 나는 ... 몇 가지 물건과 모든 것을 다시 작성하려고Asp.net GridView가 CellSpacing 속성을 무시합니다.
코드 나는 시도 : 실제로 렌더링 무엇
<asp:GridView ID="gvShoppingCart" runat="server" CellSpacing="5" Width="100%" AutoGenerateColumns="false">
<some-formating-columns-here />
</asp:GridView>
은 다음과 같습니다
<table cellpadding="0" cellspacing="0" summary="">
<thead>
<tr class="AspNet-GridView-Header">
<th scope="col">Produit</th>
<th scope="col"> </th>
<th class="Center" scope="col">Quantité</th>
<th class="Right" scope="col"> Prix Unitaire </th>
<th class="Right" scope="col">Prix</th>
</tr>
</thead>
<body-columns-here />
</table>
내가 추가하는 것에 아무 생각이 없음 w ...
의견이 있으십니까?
사용중인 ASP.NET 프레임 워크의 버전과이 동작을 볼 브라우저를 확인할 수 있습니까? 또한 정의 된 컨트롤 어댑터가 있습니까? (.browser 파일을 보려면/App_Browsers 폴더를 확인해야합니다). –