sharepoint 页面使用javascript出错解决办法

在IIS里修改web.config,增加下面一行设置就可以解决问题。

<PageParserPaths>
   <PageParserPath VirtualPath="/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders="true" />
</PageParserPaths> 

 http://verytiny.iteye.com/blog/506077

原文地址:https://www.cnblogs.com/chen110xi/p/2277027.html