Ok I have a grid with many pages and a total of say 1million plus rows!
User filters this grid down to say 7000 rows.
When I click the export all button it will export the rows they filtered. Alls good.
But when they export the whole dataset I have to intercept that to do the export myself and email them a link to it.
My issue is I cant seem to find a way to figure out how many rows are in the filtered version.
So currently I have: ( in the async Task gridRpt_OnBeforeExcelExport(GridBeforeExcelExportEventArgs args) )
If the grid.count > 1000000
then go do my email export procedure
ELSE do the grids default export.
Problem is when the grid is filtered That grid.count is still the big dataset count not the filtered count.
How do I know the filtered count and if that filtered count is still over 1mil how to I export only that filtered set?
Hope that makes sense.
Thanks
Deasun.