开发者

How to set page navigation as always bottom of the Grid view

开发者 https://www.devze.com 2023-04-11 22:46 出处:网络
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)

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消