The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: How to display the SharePoint 2010 list items in the Silverlight Datagrid using Client Object Model
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

rohith bsPosted Nov 16, 2012, 5:53 AM
after i pasted the above code, using Microsoft.SharePoint.Client; PagedCollectionView,ListItemCollection etc. are not being recognized even after adding respective dlls
Kunajn SanghaviPosted Jul 29, 2011, 3:00 PM
Hey I followed same steps as you mentioned but when it executes below statement context.ExecuteQueryAsync(new ClientRequestSucceededEventHandler(OnRequestSucceeded), new ClientRequestFailedEventHandler(failed)); it throws this exception."ServerVersion = 'context.ServerVersion' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'" And it doesn't go in any success and failed event handlers. What could be the issue? My code exactly look like:http://msdn.microsoft.com/en-us/library/ff728647.aspx Thanks in advance. Waiting for your response.
raviPosted Jan 6, 2011, 2:28 PM
Hi, I got an error as Field or Property not initialized in the line _empDetails = empDetails.GetItems(query); Could you please help me resolving this issue... Thanks, Reena