GridView Paging - First, Last, Next, Previous

后端 未结 4 2026
我寻月下人不归
我寻月下人不归 2020-12-30 07:29

Is it possible to add:

\"First, Last, Next, Previous\" options to the GridView paging? I can\'t seem to figure it out. All I can get are numbers and >> for last and

4条回答
  •  悲哀的现实
    2020-12-30 07:35

    Yes it is possible using PagerSettings property of gridview, all you need to do is- set Mode of PagerSetting to 'NextPreviousFirstLast' so that you can use "First, Last, Next, Previous" option for paging with gridview.

      
    

    There are three more properties of Mode like "NextPrevious" , "Numeric" and "NumericFirstLast"

    to use them ..

    NextPrevious :

     
    

    Numeric :

      
    

    NumericFistLast :

          
    

提交回复
热议问题