网站基本情况如下:
一个模板:Site.master
一个数据页:CompanyView.aspx
CompanyView.aspx页面中以个GridView,
<table cellpadding="0" cellspacing="0" width="100%" border="0" style="font-size: 8pt; color: #ffffff;">
<tr>
<td style="border-bottom: deepskyblue 1px dashed; height: 20px; filter: progid:DXImageTransform.Microsoft.gradient (StartColorStr='#a9a9a9', EndColorStr='#cccccc', gradientType='0')">
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<crm:GridView>
</crm:GridView>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
</table >正常情况下,GridView是在网页的右上面,左上边是模板页中的内容;但当GridView中列过多时,GridView就跑到网页的右下面,这样右上方就空出一块.
是不是在布局时,需要设计GridView始终在右上边啊?如何设计呢?
一个模板:Site.master
一个数据页:CompanyView.aspx
CompanyView.aspx页面中以个GridView,
<table cellpadding="0" cellspacing="0" width="100%" border="0" style="font-size: 8pt; color: #ffffff;">
<tr>
<td style="border-bottom: deepskyblue 1px dashed; height: 20px; filter: progid:DXImageTransform.Microsoft.gradient (StartColorStr='#a9a9a9', EndColorStr='#cccccc', gradientType='0')">
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<crm:GridView>
</crm:GridView>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
</table >正常情况下,GridView是在网页的右上面,左上边是模板页中的内容;但当GridView中列过多时,GridView就跑到网页的右下面,这样右上方就空出一块.
是不是在布局时,需要设计GridView始终在右上边啊?如何设计呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货