This is a migrated thread and some comments may be shown as answers.

PagingExportOption syntax

1 Answer 55 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jai
Top achievements
Rank 1
Jai asked on 07 Dec 2015, 05:00 PM

i'm attempting to give the option to users to export all or page only, but I can't get the syntax of the statement correct.. I would have thought it to be..

 

 spreadExporter.PagingExportOption.CurrentPageOnly = 0

 

 spreadExporter.PagingExportOption.AllPages = 1

1 Answer, 1 is accepted

Sort by
0
Accepted
Jai
Top achievements
Rank 1
answered on 07 Dec 2015, 05:09 PM

finally figured it out  

 

spreadExporter.PagingExportOption = PagingExportOption.CurrentPageOnly
 
spreadExporter.PagingExportOption = PagingExportOption.AllPages

Tags
GridView
Asked by
Jai
Top achievements
Rank 1
Answers by
Jai
Top achievements
Rank 1
Share this question
or