Is it possible to interact between ASP.Net page and Silverlight?
Say I have a Silverlight Child Windows that uses as a web browser to open access ASPX page. The ASP page will contains a close button, when user click the close button, it should close the Silverlight Ch开发者_StackOverflow中文版ild Window.
I don't know if there is any way to do that? I wonder if I can use javascript to do it?
You can. Silverlight can communicate with the DOM and Javascript can communicate with the DOM. So, in since they both have a communication medium they can both communicate.
Are you using the Browser control in silverlight to open the aspx page? or are you poping up a child browser window?
Either way, it should be possible. I would post some code but this has been well documented. Here is a link to get you started. Communicating between Javascript and Silverlight
精彩评论