7. Accessing SharePoint Using the HTML Bridge

SILVERLIGHT IS DESIGNED to be hosted on web pages, and it’s no surprise that developers would want a way for their Silverlight applications to interact with the pages that host them. This is provided by the HTML Bridge, which connects a Silverlight application with the browser’s HTML Document Object Model and Javascript. This chapter shows you how to optimize your solutions by passing information on the web page and accessing it via the HTML Bridge instead of making extra requests to the server. It also shows you how to call SharePoint’s Javascript and JQuery from your Silverlight applications.

Passing Data to Silverlight with the HTML Bridge

Figure 7.1 shows a typical Silverlight application interacting ...

Get SharePoint 2010 Development with Silverlight now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.