Thursday 5 February 2015

Missing DropDown Menu for Choosing Different List Views

In SharePoint 2010 you loose the list view selector in a list view if there are more than 1 web part in the page. This makes navigating the list views very cumbersome.

It disappears if you:
  • Add another list view web part
  • Add any other web part such as a Content Editor Web Part containing things like instructions for the list
  • 3rd party web parts like our PivotPoint or FilterPoint tools that work really well alongside list views for creating dynamic dashboards.
  • use your list on a wiki page – and remember most of the pages in SharePoint 2010 are wiki pages by default now.

Solution 1:

Open the View page in SharePoint Designer and Edit in advanced mode.

Replace: 

SharePoint:ListTitleViewSelectorMenu component.
Details are given in follwoing source location.

Source:
https://vintentou.wordpress.com/2010/08/03/missing-dropdown-menu-for-choosing-of-views/

Known issue in solution 1:
SharePoint Designer to be opened in advanced mode which can require Detaching pages from their site definition. Below are some extracts explaining why this can be damaging. “Enable Detaching Pages from the Site Definition: Enables or disables the ability to detach pages from the site definition. When checked, SharePoint Designer allows users to edit pages in Advanced Mode, giving them access to every part of the page and consequently when they save, the page is detached from its site definition.” “Detaching pages from their site definition . When you do this, intentionally or not, the page overrides the site definition and therefore won't be recognized the next time the site definition is updated. So this one is not the best approach.


Solution 2:

Free update from Pentalogic.They provides a way to solve it.

Once activated solution on a site it :
  • Looks for List View Web Parts that are present on a page but not set to visible and sets them to visible.
  • On other web part and wiki pages it adds a List View Selector Menu for the first list view web part it can find.
  • It uses the exact same interface that SharePoint normally uses, the user doesn't have to do anything different to what they normally do.
Source:
http://www.pentalogic.net/sharepoint-products/free-stuff/view-rescue


Solution 3:

Very nicely done by Alexander. (Recommended)

To achieve this, put this code 

http://spjsfiles.com/index.php?dir=SharePoint+JavaScripts%2FListViewSelectorForSharePoint2010%2F

in a text-file and place it in a shares document library (all users must have read access), or in a folder created in SharePoint Designer. You then copy the file’s url and paste it into the “Content Link” field in the “Edit web part”.

Kindly find his full blog from below source location.

Source:
http://spjsblog.com/2011/10/27/sharepoint-2010-the-view-selector-is-back/