1

Closed

实现导出到Excel功能时,导出后其他按钮功能失效...

description

这个moss的一个机制:在form提交前,设置一个全局变量标识,防止重复提交。但是导出excel后的输出为二进制流,没有刷新page,所以标识没有被重置,其他提交就被禁止了。

see:
http://www.a2zmenu.com/Blogs/SharePoint/Export-to-Excel-functionality-of-Telerik-RadGrid--is-not-working-in-SharePoint.aspx
http://www.faisalmb.com/post/Controls-not-functional-after-Export-to-Excel-or-Export-to-PDF-of-Telerik-in-Sharepoint-Application-page.aspx

solution:
在查询按钮提交前设置:
_spSuppressFormOnSubmitWrapper = true;
Closed May 3, 2013 at 7:23 AM by jianyi
fixed

comments