sharepoint – 如何禁用Ribbon ToolBar的按钮?

[可能重复]

Disable Ribbon Button

但我提出了问题,因为我没有回答这个问题,我正在寻找可用的服务器端解决方案.

我想知道是否有办法从服务器端禁用功能区工具栏上的按钮或许多按钮?

最佳答案 使用
Ribbon.TrimById Method (String),您可以找到要隐藏的Ribbon,RibbonButton或RibbonGroup.

Complete sample to hide Ribbon buttons sharepoint 2010 programmatically.

点赞