How to Remove the Option of Changing Views in a List in SharePoint 2007

How to Remove the Option of Changing Views in a List in SharePoint 2007

Hi,

Recently someone asked me to provide a way to hide the option of navigating between views in a list.
This can be done by following the simple steps defined below:

1. Open the site in sharepoint designer.
2. Navigate down to the list in question.
3. Check out the AllItems.aspx page which you want to modify and double click on it.
4. Now in the list viewer webpart right click and select "Convert to XSLT dataview".



5. Now select the portion that shows the views dropdown. It will be the Sharepoint view selector menu as shown



6. Add the attribute visible="false" as shown.
7. Check in the page and you are good to go.

I hope this will help you out.

Thanks,
Rahul Rashu

 

Leave a Comment
  • Please add 5 and 3 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Richard Mueller edited Revision 2. Comment: Modified title casing, added tag

  • Patris_70 edited Revision 1. Comment: deleted (en-US) title

  • Craig Lussier edited Original. Comment: added en-US to tags and title

Page 1 of 1 (3 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Craig Lussier edited Original. Comment: added en-US to tags and title

  • Patris_70 edited Revision 1. Comment: deleted (en-US) title

  • Richard Mueller edited Revision 2. Comment: Modified title casing, added tag

Page 1 of 1 (3 items)