I have a working ajaxified grid to which I'm adding new PDF/Excel export capability. In the ItemCommand event I'm setting boolean isPdfExport or isExcelExport. It loops through ItemCreated and ItemDataBound for all expected items. It goes through PreRender for the Page and PreRender for the grid.
But then the web page with the grid re-renders.
There is no export. and the re-rendered page no longer includes the command buttons.
This is a nested page a user control containing a tab/multipage, and one of the pageviews containing a usercontrol that has this grid.
Now this might be silly but in the event handlers I specifically just tell it to return once I know we're exporting. Do I need to manually set the columns? For example:
The exact same behavior is seen for IE9 and FF12.
Using the very latest build of the controls.