Display HTML E-mail Message

  • Thread starter Thread starter - Steve -
  • Start date Start date
S

- Steve -

I have a string with a raw HTML message. When I try to display it in a
label it won't display. I assume that's becuase it has the <html>, <head>,
etc tags.

How can I work around this?
 
You might try using a placeholder control and then create a new
LiteralControl in it.

phMyHolder.Controls.Add(new LiteralControl("<table>....</table"));

HTH
 
Back
Top