Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
WebGrid - trying to export all pages to Excel
posted

Hi,

I am using a webGrid control with paging option. I am trying to export the webGrid to an Excel file.

Since it doesnt export all pages to excel , I am trying to turn off the paging option in the export button event handler and binding the data to the webGrid again. This is not working. let me know if you guys have any idea.

 Thanks in advance.

Parents
  • 21382
    Verified Answer
    posted

     http://forums.infragistics.com/forums/p/2865/16661.aspx#16661

     

    http://forums.infragistics.com/search/SearchResults.aspx?q=export+page&s=192

     

    You need to rebind to the grid with paging turned off and then export, otherwise the grid will only bind and export the current page.

Reply Children