Placeholder Control

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

Hi,

I know this will be a very easy question for somebody to answer but how
would I display an existing HTML page within a placeholder ?

I have a master page and for dynamic content use a XML/XSL transform to
produce the html to add to my placeholder, how do I do this to display an
existing HTML page ?

Grateful for any advice.



Alex
 
You can either add a literal/label, and populate the with HTML include text

i.e.

Literal1.Text = "<!--#include virtual='/MyFiile.htm'-->";

Or you can use System.IO to write the file out in the page
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top