|
项目下用到ExtAspNet下的Grid(升级到FineUI改动量太大,因此未升级),多表头表格导出Excel时无法导出,提示脚本错误!请问有何办法解决。
附上导出后台代码:
Response.ClearContent();
Response.AddHeader("content-disposition", "attachment; filename=" + DateTime.Now.ToString("yyyy-MM-dd") + ".xls");
Response.ContentType = "application/ms-excel";
Response.Charset = "utf-8";
Response.Write("<html><head><meta http-equiv=Content-Type content=\"text/html; charset=utf-8\">");
Response.Write(GetGridTableHtml(Grid1));
Response.Write("</body></html>");
Response.End();
提示脚本错误部分:
语法错误 WebResource.axd?d=k0FA7Cz1BbexhAP2lGqm57z4IeIp-S06HBcDK16vnSg4Tde0pGzmAhO_Vi7k0rfGAXJxhdv2aGwepYlB2jbHwb-AHcPh81R4qEefq2aqKmP2NTF60&t=634763493972190000, 行1 字符13295
语法错误 WebResource.axd?d=k0FA7Cz1BbexhAP2lGqm57z4IeIp-S06HBcDK16vnSg4Tde0pGzmAhO_Vi7k0rfGAXJxhdv2aGwepYlB2jbHwb-AHcPh81R4qEefq2aqKmP2NTF60&t=634763493972190000, 行1 字符13295
语法错误 WebResource.axd?d=k0FA7Cz1BbexhAP2lGqm57z4IeIp-S06HBcDK16vnSg4Tde0pGzmAhO_Vi7k0rfGAXJxhdv2aGwepYlB2jbHwb-AHcPh81R4qEefq2aqKmP2NTF60&t=634763493972190000, 行1 字符13295
语法错误 WebResource.axd?d=k0FA7Cz1BbexhAP2lGqm57z4IeIp-S06HBcDK16vnSg4Tde0pGzmAhO_Vi7k0rfGAXJxhdv2aGwepYlB2jbHwb-AHcPh81R4qEefq2aqKmP2NTF60&t=634763493972190000, 行1 字符13295
语法错误 WebResource.axd?d=k0FA7Cz1BbexhAP2lGqm57z4IeIp-S06HBcDK16vnSg4Tde0pGzmAhO_Vi7k0rfGAXJxhdv2aGwepYlB2jbHwb-AHcPh81R4qEefq2aqKmP2NTF60&t=634763493972190000, 行1 字符13295
语法错误 WebResource.axd?d=k0FA7Cz1BbexhAP2lGqm57z4IeIp-S06HBcDK16vnSg4Tde0pGzmAhO_Vi7k0rfGAXJxhdv2aGwepYlB2jbHwb-AHcPh81R4qEefq2aqKmP2NTF60&t=634763493972190000, 行1 字符13295
|
|