Simple way to use LINQ with SharePoint ItemCollections

by Chakkaradeep 21. February 2009 04:28
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

by Chakkaradeep 13. February 2009 05:05
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]

About the author




NZ SharePoint Conference 2010

 

 

New Zealand SharePoint User Group