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

RadGrid Excel-Export in LoadingPanel in ModalDialog

1 Answer 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Barbara
Top achievements
Rank 1
Barbara asked on 10 Oct 2012, 10:44 AM
Hello,

I am trying to fix this issue since a few days, but I didn't find a solution. I hope you can help me.
I have a RadGrid and the Excel-Export worked fine. Then I put a RadAjaxPanel with RadAjaxLoadingPanel around it, and it stopped working. I have an asp:Button that starts the export. This button is in the panel too. I tried several solutions I found in this forum and the internet but none worked for me.

Either the error is like that:
The button-click exports the excel correct, but after that, the button is "dead". Nothing happens if you click it a second time. There are other controls in the panel (RadDatePicker) and they doesn't work too after the excel export.

Or the error is like that:
I click the export-button and then the loading icon appears. After a while it disappears but no excel is exported (but the controls are not "dead").

So either I have dead controls or nothing happens.

Does someone have an example code or a link for me?

I work in Sharepoint 2010 in a ModalDialog. Maybe this is why it is not working as expected?

Thank you!

1 Answer, 1 is accepted

Sort by
0
Barbara
Top achievements
Rank 1
answered on 11 Oct 2012, 10:23 AM
I found a solution for the "dead" buttons: http://www.faisalmb.com/post/Controls-not-functional-after-Export-to-Excel-or-Export-to-PDF-of-Telerik-in-Sharepoint-Application-page.aspx 

This solved the issue for me.
Tags
Grid
Asked by
Barbara
Top achievements
Rank 1
Answers by
Barbara
Top achievements
Rank 1
Share this question
or