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

[Solved] Reloading a grid after export to Excel

3 Answers 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 29 Mar 2013, 03:57 PM
I am experiencing a problem with RadGrids after exporting the grid information to Excel.  The problem is that after the export has taken place, the GridEditCommandColumn does not behave correctly.  I have placed a break in the code-behind for the grid in the OnItemCommand event, and I can see that when clicking the export button I see that the command name is ExportToExcel.  The export works correctly and the spreadsheet opens.  When I click edit in the GridEditCommandColumn, however, the command name in the OnItemCommand event is stil ExportToExcel.

Is there a step that I am missing?

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 03 Apr 2013, 11:23 AM
Hello Rob,

This is weird in my opinion. Could you please help me reproduce the problem? You can post a simple self-contained code-snipped or a runnable demo. Either way I will debug it on my end and will let you know what happens.

Best regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Andra
Top achievements
Rank 1
answered on 25 Apr 2013, 08:53 PM
Hi Daniel,

I have exactly the same problem as Rob. If I try another command after Export, except the Edit in place, it's working fine. Edit in place is working after another command, but not after Export right away. I'm using the version 2012.3.1205.35 of Telerik.Web.UI. Please tell me what the right solution is for this.

Thank you,
Andra
0
Daniel
Telerik team
answered on 30 Apr 2013, 07:19 AM
Hello Andra,

I'm afraid I'm not able to provide a solution for a problem which I don't know how to reproduce. Please download the attached demo and let me know how to modify it in order to recreate your scenario.

Regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Rob
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Andra
Top achievements
Rank 1
Share this question
or