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

Enable/Disable Buttons In Command Item Template While Exporting

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tracy
Top achievements
Rank 1
Tracy asked on 05 Sep 2013, 03:24 AM
Hi,

Is it possible to disable and then re-enable buttons during an export to excel.

I know I can disable the buttons on the item databound event by setting a flag when the export button is clicked.  But how do I re-enable them after the export has finished.

Thank You
Tracy

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 05 Sep 2013, 05:31 AM
Hello,

It is not possible.

Once Response.End() is called, the code execution stopped. That's the reason it's not working.

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Tracy
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or