Currently, I have a connected web part that consumes a SharePoint list and uses the data to add locations to a Google Map control.

What I'd like to do is use the Bing Maps Silverlight control and use the same data to render pushpins on the map. I can create an unconnected web part and use the SharePoint web services to access the list data, loop through the rows and add the pins to the map. In terms of configuration this will mean the user will need to enter the list name (or Guid) in the properties of the web part, whereas before they could select from the available lists on the site, this seems like a step in the wrong direction.

So, is there a way to use the data that is provided by the connected web part and make it available to the Silverlight control?

Cheers, Stuart.

2 Answers 2


Can you modify your existing Google web part to produce the appropriate javascript code for your Silverlight web part? You can see an example of the Bing javascript produced through a data view web part in my maps series.

  • I didn't modify my existing web part but I've managed to use JavaScript and the HTML Bridge in Silverlight to add pushpins to the map. Mar 15, 2010 at 18:37
  • Glad that you found the answer!
    – Tom Resing
    Mar 24, 2010 at 19:48

The list view web part is just a connection consumer and not a provider. You could sub-class the ListViewWebPart and add a custom connection provider to it with the current list id.

  • OK, sounds like a good starting point, but how would I get the list data from the web part into the Silverlight control? Mar 12, 2010 at 7:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.