I came across a problem today when I trying to render content from an external source into a dijit.layout.ContentPane.
HTML
<div id="someId"></div>
JS
var cp = new dijit.layout.ContentPane({}, "someId");
htmlFromExtSrc = "<frameset> <frame src="http://www.google.com"></frameset>
Other Data ";
cp.set("content", htmlFromExtSrc);
What gets set in the html is only OtherData. Frameset and frame do not showup in the html.
I aim need to show the content from an external site rendered into the Pane correctly. Using Iframe solves the problem but I am looking for a better solution. Is there a way to work around this problem?