Inline Editing in SharePoint 2010 (UI and Code)

Within SharePoint 2010 it is possible to enable inline editing on list items. This can be done by changing properties on a view of a SharePoint library what can be done in code and trough the user interface. To allow inline editing trough the user interface you have to do the following: Navigate to the list for which you want to allow inline editing:


Click on list and then list settings. On the list settings screen click on the list view you would like to edit on the bottom of the screen:


In the view screen you have a section called: Inline editing. Within that section you have a checkbox to allow inline editing:


When you have enabled this checkbox you can inline edit the items in your list:


Inline editing can also be enabled trough code. You can do this by following the code example below:

using(SPSite site = new SPSite("URL of the site"))
    SPWeb web = site.RootWeb;
    SPList list = web.Lists["Name of the list"];

    SPView view  = list.Views["Title of the view"];
    view.InlineEdit = "TRUE";

The ‘InlineEdit’ property on the view is in the public beta version of SharePoint 2010 a string value. Hopefully they will change this to a Boolean value in the final version.

Related Posts

Active Directory Picture Synchronization When you have stored the pictures of employees in Active Directory you would like to have the option to synchronize these pictures to their SharePoint...
Deleting a Project Service Application within SharePoint 2010 A couple of days ago I deleted my Project Server Web application because I wanted to recreate it. When I tried to create a new Project Web App ...
Deleting the extended web application This post I’m as a reminder because a few days back when I was working on a production environment for one of our clients. I had created an extend...
Office 2010 and SharePoint 2010 Service Pack 1 Two days ago Microsoft released the first Service Pack for the 2010 Office suite. This means there is also a Service Pack for SharePoint 2010. ...
SharePoint 2010 Content Organizer Feature Within SharePoint 2010 Microsoft has changed a lot of the content management features. One of those features is content routing which you can do with...
Creating Metadata Properties through code – SharePoint 2010 When you work on SharePoint project you often see solutions that are built by using the search engine of SharePoint. To perform queries against the s...

Leave a Reply

Your email address will not be published. Required fields are marked *

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