Disable Ribbon Button
Posted
by Raghu
on Stack Overflow
See other posts from Stack Overflow
or by Raghu
Published on 2010-06-02T13:39:31Z
Indexed on
2010/06/02
13:44 UTC
Read the original article
Hit count: 531
I want to disable and NOT hide a ribbon button (specifically Ribbon.ListItem.New.NewListItem) on a particular List type. On web I could find a lot many posts showing me ways to remove/hide buttons but none really worthwhile which could tell me how can I just disable an alrteady existing sharepoint button in my custom List type.
e.g. Following code does remove the button instead of hiding.
Id="RemoveRibbonButton" RegistrationType="List" RegistrationId="213908" Location="CommandUI.Ribbon">
© Stack Overflow or respective owner