Re: How to embed HTML into a C# component
- From: Chris Shepherd <chsh@xxxxxxxxxxxxxx>
- Date: Tue, 15 Apr 2008 10:54:25 -0400
2X4Man wrote:
I am creating a webmail solution and need to be able to display HTML e-
mails in a placeholder without screwing up the styling of the rest of
the page. I know that I could use an iframe to do this, but the
problem that I am running into is that iframe's require a src which
points to a file, I don't have an HTML file to display I just have the
text of the e-mail. Any suggestions for the best way to solve this
problem?
You can have the src attribute of the iframe point to an asp script which will output the contents of the email. Just set content-type properly and you should be good to go.
Chris.
.
- References:
- How to embed HTML into a C# component
- From: 2X4Man
- How to embed HTML into a C# component
- Prev by Date: Strange memory leak in windows service (pool nonpaged bytes)
- Next by Date: Use C# to Create a Report and Publish to Sharepoint
- Previous by thread: How to embed HTML into a C# component
- Next by thread: How add row to grid bound to IEnumerable(Of Employee)?
- Index(es):
Relevant Pages
|