Simple way to use LINQ with SharePoint ItemCollections

Here is a simple way to make use of LINQ with SharePoint item collections, for example, with List Items SPListItemCollection listPages = pagesList.Items;var latestPages = listPages.Cast<SPListItem>().Where(p => p.Name != defaultPageName); And this becomes really cool if you use with Dynam... [More]

Using query parameters in SharePoint page layouts

I had a strange case today where SharePoint was throwing this error No item exists at http://mytestsite?id=4.  It may have been deleted or renamed by another user. I use pagination in one of my page layouts and I got the above error when I select a page in the preview display mode when I ... [More]

Creative Commons License
Chaks' Corner Blog by Chakkaradeep Chandran is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at www.chakkaradeep.com.
Permissions beyond the scope of this license may be available at http://www.chakkaradeep.com.