Click here to Skip to main content
15,914,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

please help.

loading this file to radeditor gives me an error
and it remove/comment out the tag of this type eg <%Image%>.

these tags i use them as a placeholder so that the user can simply replace it with the information he/she types in a text box

XML
<html>
<body>
<p style="Text-align: right;">Sender<br/><%FromAddress%></p>
<p style="Text-align: left;"> </p><p ><br />
<span style="position: absolute; top: 350px; left: 30px ;">
<%ToAddress%><br /> Created By <%CreatedBy%> </span></p>
<span style="Position:absolute;top: 525px ;left: 30px;">
<img src =<%Image%> alt="." /></span>
</body>
</html>
Posted

replace
<img src =<%Image%> alt="." />
with
<img src ="<%Image%>"; alt="." />
 
Share this answer
 
thanx 4 ur reply

the problem is in my html file it is fine it is like this

<html>
<body>
<p style="Text-align: right;">Sender<br/><%= FromAddress%></p>
<p style="Text-align: left;"> </p><p >
<%= ToAddress%><br /> Created By <%= CreatedBy%> </p>
< img src  =<%= Image%> alt="." />
</body>
</html>


but after loading to RadEditor it is

<html>
    <head>
        <title></title>
    </head>
    <body>
        <p style="text-align: right;">Sender<br />
        <!--FromAddres--></p>
        <p style="text-align: left;"</p>
        <p ><!--ToAddres-->
        Created By <!--CreatedB--></p>
        < img alt="" src="<%=" /> alt="." />
    </body>
</html>
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900