Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Problem with HTML String

Problem with HTML String

Scheduled Pinned Locked Moved ASP.NET
htmldatabasecomhelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tarun Dudhatra
    wrote on last edited by
    #1

    Hi, I am developing one portal in that I am using richtext box to format the text. I did it. And I am saved it as HTML Encode using System.Microsoft.Application.AntiXss library Dll. I working fine. But when I am retriving it from the database and display on the page in side it is dispaling like <P align=center><B><FONT color=#ff6600 CVbhz="0" lHr4T="0">Looking for Executive Trainees</FONT></B></P> <P CVbhz="0" lHr4T="0">NTPC is looking for promising, energetic, young graduate engineers & professionals with brilliant academic record to join the organization as: </P> <P><B CVbhz="0" lHr4T="2">Executive Trainees<BR>Electrical (130), Mechanical (195), Civil (25), Control & Instrumentation (105), <A class=kLink oncontextmenu="return false;" id=KonaLink1 onmouseover=adlinkMouseOver(event,this,1); style="POSITION: static; TEXT-DECORATION: underline! important" onclick=adlinkMouseClick(event,this,1); onmouseout=adlinkMouseOut(event,this,1); href="http://www.mbajunction.com/jobs/displayjob.asp?fwid=6961#" target=_top><FONT style="FONT-WEIGHT: 700; FONT-SIZE: 8.3pt; COLOR: orange! important; FONT- Sorry When I paste it here it is looking different what I am seeing. just replace < with '<', > with '>' and like that. any suggestion would be acceptable Thanks and Regards

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups