Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WebForm - HTML editor
Message
From
28/05/2009 14:53:42
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01402488
Message ID:
01402527
Views:
43
>Thank you for your reply.
>
>Do you have an example how can I programatically preview the HTML entered by the user for example:
>
>
>.....
>strBodyHTML = "<table width='100%'  border='0'>"
>        strBodyHTML = strBodyHTML & "  <tr>"
>        strBodyHTML = strBodyHTML & "    <td width='96%' valign='top'><p align='center'>SKU ZOO H2</p>"
>        strBodyHTML = strBodyHTML & "      <p align='left' id='FirstPara'>Features</p>      <ul><li>Great quality</li>"
>        strBodyHTML = strBodyHTML & "        <li>Portable</li>"
>        strBodyHTML = strBodyHTML & "        <li>Light</li>"
>        strBodyHTML = strBodyHTML & "        <li>Dependable</li>"
>        strBodyHTML = strBodyHTML & "      </ul>"
>        strBodyHTML = strBodyHTML & "      <p align=center>"
>        strBodyHTML = strBodyHTML & "  </tr>"
>        strBodyHTML = strBodyHTML & "</table>"
>
>
>Thanks,
>Daniel

That's not a simple page... that's code that builds HTML and displays it. IF you want to preview it you will have to cut out the code and keep just the html. You should be able to past that into a txt file and change the extension to HTML to preview it.
Very fitting: http://xkcd.com/386/
Previous
Reply
Map
View

Click here to load this message in the networking platform