一个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

相关文章:

  • 2022-02-15
  • 2021-11-20
  • 2021-11-11
  • 2022-01-20
  • 2021-09-10
  • 2022-12-23
  • 2021-05-20
  • 2021-07-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2021-11-20
相关资源
相似解决方案