I have used Webdatagrid in WebDialogWindow. I want to export the grid data to excel export . To export excel i haved used webexcelexporter control . I have kept webdiaglogwindow in update panel to avoid postback. If i have webexcel exporter inside update panel it is not working.
I have attached screenshot for your refrence
Hello Dayana,Please let me know if you have any further questions regarding this issue.
Hello Dayana,You have to wrap the button which is making a postback inside an update panel and set a full postback to be made by this button. Please find the attached sample implementing this scenario and let me know if you face any further issues.
POSTED ON: Tue, Nov 27 2012 2:15 AM Reply
I have used Webdatagrid in WebDialogWindow. I want to export the grid data to excel export . To export excel i haved used webexcelexporter control . I have kept webdiaglogwindow in update panel to avoid postback. If I have webexcel exporter inside update panel it is not working.
Thanks for your reply.
It is still not working.
I will explain the scenrio again.
The hierearchy of controls are as follows:
1. Update Panel2. Web Dialog3. WebDataGrid, Command Button
Excel export is called from "Command Button" "Click" event.
Issues:
1. Excel export is not working when the "Command Button" is clicked.2. When Summary (Sum) button is clicked in WebDataGrid the page is PostBacked
Please refer the attached source code for reference.
Hello Dayana,
Can you please confirm that you are facing the same issue as the one in the sample after pressing the Export button and that the sampel is reproducing your scenario.