Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WebForm - HTML editor
Message
De
28/05/2009 14:53:42
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01402488
Message ID:
01402527
Vues:
42
>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/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform