Render HTML page using ASP

A

Alex

Hi,

I want to import an html document into my asp.net page and render it
inside a TableCell. The reason for this is i want to simulate the
behaviour of a frames page without using frames. I cannot edit the
source of the HTML. Is there any way of parsing the html to remove
all of the headers etc, and just have the main content put inside say
an HTMLGenericControl? Any suggestions would be greatly appreciated.

Cheers,

Alex
 
K

Kevin Spencer

Sure there is. Just grab everything between the <body> and </body> tags.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
E

Eliyahu Goldin

Alex,

iframe element is made specially for your purposes. Put it into the cell and
target to the page you need.

Eliyahu
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top