Ghouse Hussain

Ghouse Hussain

  • NA
  • 41
  • 24.9k

how to display Gridview Footer Page

Mar 30 2016 7:41 AM
please help me how to display Footer page index in middle .This is my code
<div align="center">
<asp:GridView ID="Grid1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="Both" AllowPaging="true" PageSize="2" AutoGenerateColumns="false"
OnSelectedIndexChanged="Grid1_SelectedIndexChanged" OnSelectedIndexChanging="Grid1_SelectedIndexChanging" OnPageIndexChanging="Grid1_PageIndexChanging" PagerSettings-Mode="NextPrevious" PagerStyle-Width="10px">
<Columns>
<asp:CommandField HeaderText="Action" ShowSelectButton="true" />
<asp:BoundField HeaderText="Nation Code" DataField="NAT_CODE" />
<asp:BoundField HeaderText="Description In English" DataField="NAT_DESC_E" />
<asp:BoundField HeaderText="Description In Arabic" DataField="NAT_DESC_A" />
<asp:BoundField HeaderText="Description In French" DataField="NAT_DESC_F" />
</Columns>
<AlternatingRowStyle BackColor="White" />
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" HorizontalAlign="Center" VerticalAlign="Middle" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
</asp:GridView>
</div>
 
 

Attachment: 11.zip

Answers (3)