If you use the
SPRibbon.TrimById() method on a specific button, it hides the button from the UI, which is okay. However in my case I think it would be nicer to simply disable the button and leave it in place.
Is there any way to achieve this via C# using the
I want exactly what this guy on MSDN was asking for to no avail.