Load a webpage into iframe in results window
I would like to use a function like Util.LoadPage(string url int width, int height) to load a webpage into an iframe in the result window.
Currently I'm using File.WriteAllText(fileName, contents, Encoding.Default); and Util.RawHtml to push the iframes into the result window, but for some reason the iframes opens up internet explorer in most cases.
8
votes
Chris Gårdenberg
shared this idea
-
Elias commented
I ran into the same issue when i did this
var url = "http://example.com";
Util.RawHtml(string.Format("<iframe src='{0}' width='100%' height='600px'></iframe>", url)).Dump();