修改SharePoint页面上的控件数量的限制

it2022-05-05  68

一个SharePoint页面上,默认情况下,最多可以放置不超过200个控件。不知道为什么会有这个限制,可能是出于性能上的考虑。为了解决这个问题,我们需要在web.config文件中修改MaxControls属性的设置:

 <SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">

      <PageParserPaths>

      </PageParserPaths>

    </SafeMode>

我们这边是把maxcontrols参数设成了300。

参考资料

Getting around the limitation on a number of controls on SharePoint page

转载于:https://www.cnblogs.com/Sunmoonfire/archive/2012/08/02/2619291.html

相关资源:数据结构—成绩单生成器

最新回复(0)