How to set page navigation as always bottom of the Grid view
This is my web page Grid view.If i'm add so many records it will put automatically page navigation,the page navigation numbers will comes under the records.(i'm rounded in red color)
if the grid view has thr开发者_运维技巧ee records in second page means the page navigation numbers comes middle of the grid view.but i need to show under the grid view records.The grid view has default 10 rows.
the first page have 10 records so there it's working fine. how to do second page and above upcoming pages.
Does any one know how to solve this problem...?
Thanks in advance..
PagerSettings.Position
:
<asp:gridview id="CustomerGridView"
datasourceid="CustomerDataSource"
autogeneratecolumns="true"
datakeynames="CustomerID"
allowpaging="true"
runat="server">
<pagersettings mode="NextPreviousFirstLast"
firstpagetext="First"
lastpagetext="Last"
nextpagetext="Next"
previouspagetext="Prev"
position="Bottom"/>
</asp:gridview>
I think adding the empty
rows to the dataSource
(depends upon rows and pagesize) would be better option.
精彩评论