Quantcast
Viewing latest article 1
Browse Latest Browse All 2

Using InnerHTML in IFrame

Your question isn't very clear.

You're developing a windows forms application ? WPF application ? or ASP.NET web application ?

 

So you're getting some html string as input and you wish to show that HTML as web-page inside an iframe tag. Right ?

InnerHTML won't work for iFrame as html between opening and closing iFrame is parsed only if iFrame is not supported.

You'll have to create a temporary html file from that string and give its path to iFrame's src attribute.

 

Need to know which kind of application you are making.

 


Thanks

A place for MSDN users to socialize 

Living on Earth may be expensive, but did you know that it includes a free trip around the sun? Isn't that worth it?

Viewing latest article 1
Browse Latest Browse All 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>