15.10. Local Connections
Some page designs utilize two separate Silverlight controls and need a way to pass information between them. Previously, this could be accomplished only using the HTML DOM methods. Silverlight 3.0 makes this much easier with the local connection API. Let's create a simple example and send some text from one Silverlight control to another:
Open Visual Studio, and create a new Silverlight application called Chapter15.Sender.
Add another Silverlight application to the solution called Chapter15.Receiver (opt not to create another web hosting project).
Open Chapter15.SenderTestPage.aspx.
You want to display the Chapter15.Receiver project on the same page, so add another Silverlight control beneath the existing one by copying ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access