2011-01-31

SharePoint 2010 List View Ribbon Missing

One thing that i find annoying with list views, is when you add any other web parts to the same page, they become an application page. This means you lose the breadcrumb view selector, and also the ribbon menu.

After playing around with this question i managed to find a solution.

Basically you trick the list view into thinking it is selected. So first, add a content editor web part to the page, then have a timer, that calls the WpClick() method, triggering the web part to be selected. Then the ribbon shows.

Perfect.

5 comments:

  1. Anonymous6:24 am

    This was incredibly helpful and solved a really nagging problem. Thank you.

    ReplyDelete
  2. Anonymous6:44 am

    Can you give us a step-by-stem? I've never created a timer job in SharePoint

    ReplyDelete
  3. Anonymous2:12 am

    Hi!

    Can you publish the javascript for this solution?

    ReplyDelete
  4. Anonymous1:10 am

    Try to check this feature out
    http://www.pentalogic.net/sharepoint-products/free-stuff/view-rescue
    & geert

    ReplyDelete