Silverlight webpart(grid)在Sharepoint 2010中不显示(Microsoft.Shar



我已经为此工作了3天,我没有得到解决方案。这可能是非常简单的,但为什么没有工作为我。

我为Sharepoint 2010创建了silverlight 3.0 Webpart。我遵循了这个MSDN链接的确切步骤:http://msdn.microsoft.com/en-us/library/ff728647.aspx但根据代码,它应该在成功或失败事件处理程序中输入。在我的代码中,它不能进入。它抛出了异常" listtitemcollectionposition " (_projects = Projects.GetItems(query))。ListItemCollectionPosition'抛出了类型为'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'的异常。ListItemCollectionPosition {Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException}" on line _projects = Projects.GetItems(query);

根据我的代码看起来很好。silverlight 3.0/sharepoint中央管理设置是否有任何安全/权限问题?有什么问题吗?请帮帮我。

提前感谢。-Kunjan

我认为这可能是由于复制并粘贴到代码中的列表列名的任何更改而发生的。使用caml查询生成器构建查询,并将其复制粘贴到代码中,然后检查

最新更新