Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
XamWebHtmlViewer DOM Manipulation/JavaScript
posted

Hello,

Firstly I'd like to confirm that the XamWebHtmlViewer does not run in windowless mode, which is great for general application performance.

I am creating an app which can not run in windowless mode due to a large volume of video streaming. I need to render HTML (I'm using the XamWebHtmlViewer) and once rendered, i need to execute JavaScript functions within the HTML. Currently, I can see no way of doing this using the XamWebHtmlViewer, can you please specify if there is any way to execute JavaScript or manipulate the DOM from Silverlight using the XamWebHtmlViewer? Is it possible to create a bridge between the XamWebHtmlViewer content and the Silverlight host?

If this feature does not exist, is it possible to log it as a feature request?

Lastly, if this is not possible, do you have any other suggestions how this behavior could be achieved without running Silverlight in windowless mode?

Thanks for your assistance.

Parents
No Data
Reply
  • 1706
    posted

    Hi,

    I'm wondering what sort of resolution you found as a work around for this?

     Apparantly  an iframe is created to act as the bridge between XamWebHtmlViewer content and the Silverlight  host but I have not been able to access the java script in the viewer content from the  host.

    Thanks,

    Lisa.

     

Children
No Data