【发布时间】:2014-08-18 07:08:51
【问题描述】:
我有三个 gridview 我希望它们适合 1 个带滚动的 div,所以当我滚动时,所有三个都会移动。这就是我所做的..
<div class="headerleft" style=" width:1299px; height:440px; border:1px solid gray; overflow: auto; ">
<div id="Div2" style="margin:50px; width:3300px;">
<asp:GridView ID="goutlet" emptydatatext="No data available." runat="server"
Width="1000px" ShowFooter="True" AutoGenerateColumns="false" HorizontalAlign="Left" CssClass="gridview">
</asp:GridView>
<asp:GridView ID="gtracking" runat="server" emptydatatext="No data available."
AutoGenerateSelectButton="True" AutoGenerateColumns="false" HorizontalAlign=NotSet
Width="1000px" ShowFooter="True" OnRowDataBound="gtracking_RowDataBound"
onselectedindexchanged="gtracking_SelectedIndexChanged"
CssClass="gridview"
>
</asp:GridView>
<asp:GridView ID="GridView1" runat="server" HorizontalAlign="Right" >
</asp:GridView>
</div>
</div>
【问题讨论】:
-
请改写你的问题