O'Reilly logo

Sams Teach Yourself SharePoint® 2010 Development in 24 Hours by Vinu Santhakumari, Manpreet Singh, Sohail Sayed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Consuming Silverlight Data in SharePoint 2010

Accessing SharePoint data in Silverlight involves using the SharePoint client side object model. The following DLLs represent the APIs for accessing SharePoint data in Silverlight:

• Microsoft.SharePoint.Client.Silverlight.dll

• Microsoft.SharePoint.Client.Silverlight.Runtime.dll

In this section you create a Silverlight web part that displays data from a list in a grid. It will show data from a custom list called Books. The user can filter the data according to the book category, which he can select from a drop-down list.

Create a new custom list and call it Books. Add the custom columns listed in Table 9.2.

Table 9.2. Columns for Books List

Create a new Silverlight project named ListDataSLApp. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required