torsdag 22 oktober 2009

Connecting Silverlight Web Parts

In Bob German session about integrating Silverlight in SharePoint, did he demonstrate a sound solution of interconnect Silverlight application hosted in Web Parts.

As SharePoint's built-in support for Web Part communication is server side based, it require postbacks when transmitting data between web parts. This is bad, particularly for Silverlight apps as they (usually) loses there states after an postback, and it gives bad user experiences.

However in Bobs solution, the built-in Web Part communication are only used to mediate the DOM object ID between the Silverlight Applications. That enables a Silverlight Web Part to pass data using a HTML bridge. This technique allows instant communication and interaction between Silverlight web parts and Web part configurations on the SharePoint site as usual. Sweet!

Inga kommentarer:

Skicka en kommentar