I've been working on this for several days now and I've had no luck so far. I have a RadGrid that Exports to excel, actually, several RadGrids in the application. The grids export as expected. The problem is that once I've exported, I can't edit a row. Here's what I've found so far.
When I click the Export button, if I set a breakpoint in the ItemCommand handler, the command name is ExportToExcel, as it should be. Then, once it exports and the page is ready for use again, I click the Edit icon in the row. This time, in the ItemCommand handler, the command name is still ExportToExcel, it should be Edit at this point. In fact, the command source is the Export button, not the Edit button.
I've also set a break point in the master page in OnRequestStart. I can confirm that the Ajax postback is canceled when Export is clicked and that the Event Target is btnExpXls. But when I click Edit, after exporting, the event target is the Edit button. However, by the time it hits the server, even in the RequestStart event in Global.asax, the event target is the export button.
When I step through the script side code I can see the event target getting changed from EditButton to btnExpXls; this appears to be happening in the script for RadScriptManager. But I can't access that script to make changes, obviously. I'm hoping this is a known issue and that there is a workaround for it. Any suggestions will be greatly appreciated.
When I click the Export button, if I set a breakpoint in the ItemCommand handler, the command name is ExportToExcel, as it should be. Then, once it exports and the page is ready for use again, I click the Edit icon in the row. This time, in the ItemCommand handler, the command name is still ExportToExcel, it should be Edit at this point. In fact, the command source is the Export button, not the Edit button.
I've also set a break point in the master page in OnRequestStart. I can confirm that the Ajax postback is canceled when Export is clicked and that the Event Target is btnExpXls. But when I click Edit, after exporting, the event target is the Edit button. However, by the time it hits the server, even in the RequestStart event in Global.asax, the event target is the export button.
When I step through the script side code I can see the event target getting changed from EditButton to btnExpXls; this appears to be happening in the script for RadScriptManager. But I can't access that script to make changes, obviously. I'm hoping this is a known issue and that there is a workaround for it. Any suggestions will be greatly appreciated.