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:

Anonymous said...

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

Anonymous said...

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

Anonymous said...

Hi!

Can you publish the javascript for this solution?

Anonymous said...

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

deraz said...

خدمات الشارقة - النجم
تركيب ستالايت الشارقة
تركيب غرف نوم الشارقة