I'm trying to find out what my options are to inject a local html file's contents into a webpage. I have a Scheduled task that gets a list of .html
files from a remote server and stores them on the local webserver, this I can't change.
How can I get the .html
file injected into a webpage via code-behind? I have a Literal
control on the page I can put the HTML
in but whats the best way to get the html
from the file? Filestream? Or put those files containing partial HTML into IIS and serve them somehow?
From my understanding of my requirements I can't use ajax or an iframe. Sooo ?