sharepoint 页面使用javascript出错解决办法
在IIS里修改web.config,增加下面一行设置就可以解决问题。
<PageParserPaths>
<PageParserPath VirtualPath="/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders="true" />
</PageParserPaths>
<PageParserPaths>
<PageParserPath VirtualPath="/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders="true" />
</PageParserPaths>
http://verytiny.iteye.com/blog/506077