Skip to main content

Microsoft Silverlight

Answered Question How to send xml to silverlight application?RSS Feed

(0)

Shiran
Shiran

Member

Member

0 points

13 Posts

How to send xml to silverlight application?

I have a window form application, I want that the button_click event will open a silverlight application and send a long xml from the windows form application to the silverlight application. how can I do that?

Shiran

SharpGIS
SharpGIS

Contributor

Contributor

3387 points

611 Posts

Answered Question

Re: How to send xml to silverlight application?

You cannot directly connect between windows forms and silverlight.

You will have to have your WIndows application send the XML to a service running on an HTTP website. Next have Silverlight download it from that server.

--
/Morten | blog - twitter
Please click on "Mark as Answer" if this answered your question.

mrjvdveen
mrjvdveen

Participant

Participant

1937 points

366 Posts

Answered Question

Re: How to send xml to silverlight application?

 One way would be to dynamically generate a HTML file where the XML is a parameter for the object in HTML. This way you could access it from Silverlight. There is a great video on this, right here on silverlight.net. Or you could make a JS function that returns the XML in your HTML page and access that function from Silverlight.

HTH.

-------------
Please mark a post as answer if it answers your question.
Visit my blog: http://jvdveen.blogspot.com
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities