Re: Easy Question ;-) How to render a html page in a table cell of an ASP.NET page



You have to use an iframe, as a whole html page cotnains head. body etc and
you cant have that in a table cell as it will create invalid html. Also, if
you try to extract just the body, and features of the page are using
javascript or CSS injected into the head then you will lose its
functionality or its style.

Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
http://www.johntimney.com/blog


"SteveM" <steve.moody@xxxxxxxxxxx> wrote in message
news:1166109885.721805.99390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am sure this is an easy question, but being relatively new to ASP.NET
programming, I can not quite grasp what I need to accomplish what I
need to do.
What I have is a word document that is rendered as a page (or actualy a
part of a page) that is editiable. To do this I let the user download
the document, edit it and then upload it back to the site. Then at
Page_Open, I convert the .doc file to an html and render it back to the
page... that is the way it supposed to work. I am falling down on the
part on how to render the html back to the cell of table (used for
formatting) on my ASP.NET page. I can find no controls that allow you
to display another html page. I have tried putting it into a custom
control, but then I am faced with scroll bars and it doesnt have the
look and feel of a normal HTML (sizing by sizing the page).

So in a nutshell what I want to be able to do is take page a (which is
an html converted document) and display it in a content section in a
table cell of a master page... thats all simple huh?

Thanks for any help or pointers you can give me
-SteveM



.



Relevant Pages

  • Re: Embedding values within a cell containing HTML
    ... If eBay's TL program accepts a .CSV file, ... I have a page on converting a group of cells to an HTML table ... Microsoft MVP - Excel ... > cell of Excel. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Extracting email addresses from hyperlinks.
    ... the cells copied from the html page ... then Pasted into the Excel sheet. ... Also, if I highlight one and right click on Edit Hyperlink, all the info is ... Be aware that if you change the hyperlink, then this formula cell won't change ...
    (microsoft.public.excel.misc)
  • Re: Novice Request - onClick Reset
    ... of selections in three menus (Cell A: Top Level Categories, ... Minimize the complexity of the file so editors experienced in HTML, ... What if you built the values in the javascript and used javascript to ...
    (comp.lang.javascript)
  • Re: Easy Question ;-) How to render a html page in a table cell of an ASP.NET page
    ... So if I have an IFrame based custom control, I am assuming that I can ... you cant have that in a table cell as it will create invalid html. ... I convert the .doc file to an html and render it back to the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Help with HTML please
    ... |I have some HTML code that doesn't do quite what I need. ... By using the bottom cell of the first and last ... I think it is about time I learned some basic HTML so that I can do ...
    (microsoft.public.frontpage.programming)