简体   繁体   English

共享点2010中的最大控制母版页数

[英]Maximum control number of master pages in sharepoint 2010

As developers know, SharePoint 2010 master pages can contain maximum 200 controls. 如开发人员所知,SharePoint 2010主页最多可以包含200个控件。 I've searched arround a bit, but did not get any information or suggestion about this problem. 我搜索了周围的东西,但是没有得到有关此问题的任何信息或建议。 Anyone faced with this problem before? 有人遇到过这个问题吗? I call this is a problem, because I need to put more than 200 controls. 我称这是一个问题,因为我需要放置200多个控件。 Do you have any suggestion about how to put 200+ controls in masterpage? 您对如何在母版页中放置200多个控件有任何建议吗? Any trick, way, etc.. 任何技巧,方式等。

Have you checked the web.config? 您检查过web.config了吗? There is an entry for the user controls: 用户控件有一个条目:

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

However I would not suggest changing it, because the limit of 200 exists for a reason. 但是我不建议更改它,因为存在200个限制是有原因的。 Actually a MS employee suggests you should split up your page into multiple smaller pages if you have more than 200 user controls: Need increase MaxControls value in web.config. 实际上,一位MS员工建议,如果您拥有200多个用户控件,则应该将页面分成多个较小的页面: 需要增加web.config中的MaxControls值。 Is there a recommended value? 有推荐值吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM