Quantcast
Channel: Off-Topic Posts (Do Not Post Here) forum
Viewing all articles
Browse latest Browse all 14169

Issue displaying content on iframes.

$
0
0

Hello everyone,

I am trying to display a few pages on an iframe for a few seconds each on a loop. 

I have been able to display content on the iframe when I do it by adding this line.

frame1.Attributes["src"] = "http://intranet.contoso.com/sites/Report";

Unfortunately it does not work when I try to put it in a loop:

do
{
frame1.Attributes["src"] = "http://intranet.contoso.com/sites/Report";
Thread.Sleep(5000);
frame1.Attributes["src"] = "http://intranet.contoso.com/sites/dashboard";
Thread.Sleep(5000);
} while (true);

Is there something I am missing?

Thanks so much for your help.



There is always something above the sky


Viewing all articles
Browse latest Browse all 14169

Trending Articles



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