Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm trying to create a SharePoint 2010 application page (AKA layout page) to display some information and allow users to perform some custom functionality.

I need to display custom ribbon tab for the functionality that I want to perform. And I want this custom tab to be displayed on the application page that I've created.

I've managed to create a custom ribbon tab and display it on list view ribbon through a SP feature. But how can I register this custom ribbon tab so that I will display on the application page that I've created?

Thanks,

share|improve this question
add comment

1 Answer

According to accomplish this, you have to create a contextual tab and 'bind' it to your page. An example of a webpart with a contextual tab can be found here: http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2010/01/28/how-to-create-a-web-part-with-a-contextual-tab.aspx

In this post MakeTabAvailable() is explained and used: http://www.sharepointnutsandbolts.com/2010/01/adding-ribbon-items-into-existing.html

I guess it's almost the same with a page.

Regards, Anita

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.