Kunajn Sanghavi

Kunajn Sanghavi

  • NA
  • 2
  • 2.3k

Silverlight webpart(grid) in Sharepoint 2010

Aug 1 2011 1:15 PM
Hello,

I have been working on this for last 3 days and I am not getting the solution. This could be very simple but some how nothing is working out for me.

I have created silverlight 3.0 Webpart for Sharepoint 2010. I have followed exact steps from this MSDN link: http://msdn.microsoft.com/en-us/library/ff728647.aspxbut according to code it should enter in success or fail event handlers. In my code its not entering. It threw exception "ListItemCollectionPosition'(_projects = Projects.GetItems(query)).ListItemCollectionPosition' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'Microsoft.SharePoint.Client.ListItemCollectionPosition {Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException}
" on line _projects = Projects.GetItems(query);

According to me code looks fine. Is there any security/permission issues with silverlight 3.0/sharepoint central administration setting. What could be the issue? Please help me out.

Thanks in Advance.
-Kunjan

Answers (1)