0

My question is simple. MVC3 has a Webgrid Helper which can be used for paging. Is there a way to use this helper in a table instead of using the webgrid?

Please advise me in this.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
sameer
  • 220
  • 2
  • 6
  • 18

1 Answers1

0

The Pager helper needs a WebGrid to work. If you do not want to use the WebGrid, you can create your own paging links. This article explains how, although it is based on the Web Pages framework and shows how to use paragraphs instead of tables: http://www.mikesdotnetting.com/Article/150/Web-Pages-Efficient-Paging-Without-The-WebGrid

However, if you want to display your results in a table, I don't know why you don't use the WebGrid. It renders a table.

Mike Brind
  • 28,238
  • 6
  • 56
  • 88