locked
How to make c# webgrid display all pages? RRS feed

  • Question

  • Hi. I'm using ASP.NET Webgrid in my website to display data from a database. I have it set to display 5000 rows per page. That works fine, and the paging works fine until there is more than 35 pages of data. The paging at the bottom of the webgrid won't go past 35 and shows page 35 as the last page. There is more data, it just won't show it. Is there a way to make it show all the pages? Thanks.
    • Moved by Eason_H Wednesday, January 1, 2014 2:15 AM
    Tuesday, December 31, 2013 4:00 PM

Answers

  • Hi AndrejsM,

    Since the issue regards ASP.NET and website deployment. I suggestion you post the question in the ASP.NET forums at http://forums.asp.net/. It is appropriate and more experts will assist you.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by AndrejsM Friday, January 3, 2014 1:10 PM
    Wednesday, January 1, 2014 2:14 AM

All replies

  • Hello,

    This should be asked in Microsoft's ASP.Net C# forum:

    http://forums.asp.net/37.aspx/1?C+

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog:http://unlockpowershell.wordpress.com
    My Book:Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    Tuesday, December 31, 2013 10:13 PM
  • Hi AndrejsM,

    Since the issue regards ASP.NET and website deployment. I suggestion you post the question in the ASP.NET forums at http://forums.asp.net/. It is appropriate and more experts will assist you.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by AndrejsM Friday, January 3, 2014 1:10 PM
    Wednesday, January 1, 2014 2:14 AM
  • Thank you.
    Friday, January 3, 2014 1:10 PM