Search code examples
visual-studio-2010sharepointsharepoint-2010ribboncustom-action

Is it possible to add a custom button in Sharepoint 2010 Ribbon just for a specific page?


Is it possible to add a custom button in Sharepoint 2010 Ribbon just for a specific page?

I found many examples about adding a custom button in Sharepoint 2010 Ribbon via CustomActions (XML) in Visual Studio 2010, but nothing about adding it in a specific page.


Solution

  • As far as I know this not possible via custom actions.

    However, you could write a delegate control that creates your ribbon button through code.

    SharePoint 2010 Fluent Ribbon API helps you creating ribbon elements programmatically.