locked
PageNavigator fragment and Iframe communication

    Question

  • In order to communicate an iframe we need to use webcontext (ms-appx-web:)and postmessage calls to send message from metro to iframe but when i use Pagenavigator control and I have fragment  in which iframe is present i am not able to sendmessage using postmessage html5 call to the iframe wven if i call 

     mapframe.postMessage(msgS, "ms-appx-web://" + document.location.host);

    Nothing happens. But if i have a single page and iframe it works. What piece is missing when we use pagenavigator control ? 

    Tuesday, April 03, 2012 8:40 AM

All replies

  • How do you the "pagenavigator control", could you please post some code, we are not sure your pagenavigator control in Metro/HTML5? And what is the msg you send to the iframe?

    Best day, Best life

    Wednesday, April 04, 2012 7:28 AM