C
Chuck
I'm setting the column with for a gridview (25+- columns) and have
paging turned on.
When the gridview is first displayed, the column widths are all set to
the default. But after paging to another page, the widths are set as
they should be.
Going back to page one, the widths are still correct.
Not a clue what's going on here!
<asp:GridView ID="GridView1" runat="server" Style="z-index: 100;
left: 0px; position: absolute; top: 103px; width:2900; "
SkinID="GridSkin" DataSourceID="SqlDataSource1"
AutoGenerateColumns="False"
AllowPaging="True" AllowSorting="True"
EnableSortingAndPagingCallbacks="True" PageSize="4" >
<Columns>
<asp:BoundField DataField="Flood" HeaderText="Flood"
SortExpression="Flood" HtmlEncode="False" >
<ItemStyle HorizontalAlign="Center" Width="50px" />
<HeaderStyle Width="50px" />
</asp:BoundField>
.............
Any ideas about what I'm missing??
chuck
paging turned on.
When the gridview is first displayed, the column widths are all set to
the default. But after paging to another page, the widths are set as
they should be.
Going back to page one, the widths are still correct.
Not a clue what's going on here!
<asp:GridView ID="GridView1" runat="server" Style="z-index: 100;
left: 0px; position: absolute; top: 103px; width:2900; "
SkinID="GridSkin" DataSourceID="SqlDataSource1"
AutoGenerateColumns="False"
AllowPaging="True" AllowSorting="True"
EnableSortingAndPagingCallbacks="True" PageSize="4" >
<Columns>
<asp:BoundField DataField="Flood" HeaderText="Flood"
SortExpression="Flood" HtmlEncode="False" >
<ItemStyle HorizontalAlign="Center" Width="50px" />
<HeaderStyle Width="50px" />
</asp:BoundField>
.............
Any ideas about what I'm missing??
chuck