Hiding new item, edit, view selector from List View Web Part in SharePoint 2013


We had a requirement to hide the new item button, edit button etc. from a List View Web Part.

 

The way we achieved it was using a Content Editor Web Part and pointing it to Jscript File with the following CSS,

By finding the following id(s) and setting display as none.

List View with hidden controls.

Advertisements

Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

Please share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.