Problem while setting content

2 posts, 0 answers
  1. Sachin
    Sachin avatar
    1 posts
    Member since:
    Sep 2013

    Posted 25 Sep 2013 Link to this post

    Hi have original HTML as below :
    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
    <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
    o\:* {behavior:url(#default#VML);}
    w\:* {behavior:url(#default#VML);}
    .shape {behavior:url(#default#VML);}
    </style><![endif]--><style><!--
    /* Font Definitions */
    @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
    @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
    a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
    a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
    p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
    span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
    span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
    .MsoChpDefault
        {mso-style-type:export-only;}
    @page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
    div.WordSection1
        {page:WordSection1;}
    --></style>
    </head>
    <body lang="EN-US" link="blue" vlink="purple">
    <div class="WordSection1">
    <p><o:p>&nbsp;</o:p></p>
    <p><o:p>&nbsp;</o:p></p>
    <p><b><span style="color:#CD7823">Gaurav Bhandari</span></b><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><br>
    </span><b><span style="font-size:10.0pt">Deputy Manager - Ops</span></b><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">-
    </span><span style="font-size:10.0pt;color:#4A442A">WNS Global Services (P) Ltd</span><span style="font-size:12.0pt">&nbsp;|
    </span><u><span style="font-size:10.0pt"><a href="http://www.wns.com"><span style="color:blue">www.wns.com</span></a></span></u><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
    <p><span style="font-size:10.0pt;color:#4A442A">Weikfield Tower C, Weikfield IT City Info Park, Off Nagar Road, Viman Nagar</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">,&nbsp;</span><span style="font-size:10.0pt;color:#4A442A">Pune</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#4A442A">,</span><span style="font-size:10.0pt;color:#4A442A">Maharashtra</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#4A442A">,</span><span style="font-size:10.0pt;color:#4A442A">411014</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
    <p><span style="font-size:10.0pt;color:#4A442A">IP:</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#4A442A"> |
    </span><span style="font-size:10.0pt;color:#4A442A">Direct:</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#4A442A">
    </span><span style="font-size:10.0pt;color:#4A442A">9923202509</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#4A442A">|
    </span><span style="font-size:10.0pt;color:#4A442A">Hand phone:</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#4A442A">
    </span><span style="font-size:10.0pt;color:#4A442A">9923202509&nbsp;| Email:<u>Gaurav.Bhandari@wns.com</u></span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
    <p><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">&nbsp;<o:p></o:p></span></p>
    <p><b><span style="font-size:16.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#984806">ONE WNS ONE GOAL</span></b><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">&nbsp;&nbsp;&nbsp;
    </span><b><span style="font-size:16.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#CD7823">OUTPERFORM</span></b><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
    <div align="center" style="text-align:center">
    <hr size="2" width="100%" noshade="" style="color:#E36C09" align="center">
    </div>
    <table border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
    <tbody>
    <tr>
    <td style="padding:0in 0in 0in 0in">
    <p><a href="https://www.facebook.com/wnsglobalservices"><span style="color:blue;text-decoration:none"><img border="0" width="21" height="23" id="IMG1" src="cid:image001.png@01CEB623.6D5C01E0" alt="cid:image19ee01.PNG@0db969a7.44afd17b"></span></a><span style="font-size:12.0pt"><o:p></o:p></span></p>
    </td>
    <td style="padding:0in 0in 0in 0in">
    <p><a href="http://twitter.com/wnsholdings"><span style="color:blue;text-decoration:none"><img border="0" width="21" height="23" id="Picture_x0020_3" src="cid:image002.png@01CEB623.6D5C01E0" alt="cid:imagebddcdb.PNG@8fbff749.4d8be41c"></span></a><span style="font-size:12.0pt"><o:p></o:p></span></p>
    </td>
    <td style="padding:0in 0in 0in 0in">
    <p><a href="http://www.linkedin.com/company/wns-global-services"><span style="color:blue;text-decoration:none"><img border="0" width="21" height="23" id="Picture_x0020_4" src="cid:image003.png@01CEB623.6D5C01E0" alt="cid:imagee03c1b.PNG@ea807698.418fb6b2"></span></a><span style="font-size:12.0pt"><o:p></o:p></span></p>
    </td>
    <td style="padding:0in 0in 0in 0in">
    <p><a href="http://www.youtube.com/wnsglobalservices"><span style="color:blue;text-decoration:none"><img border="0" width="22" height="24" id="Picture_x0020_5" src="cid:image004.png@01CEB623.6D5C01E0" alt="cid:imaged1e62e.PNG@5b275ca0.43a5d3cf"></span></a><span style="font-size:12.0pt"><o:p></o:p></span></p>
    </td>
    <td style="padding:0in 0in 0in 0in">
    <p><b><sup><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;
    </span></sup></b><b><sup><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Connect with WNS &nbsp;</span></sup></b><span style="font-size:12.0pt"><o:p></o:p></span></p>
    </td>
    </tr>
    </tbody>
    </table>
    <p><o:p>&nbsp;</o:p></p>
    <p><o:p>&nbsp;</o:p></p>
    </div>
    </body>
    </html>


    i am appending above html with text as :

    <br/> <hr size=2 width="100%" align=center tabindex=-1>  <br/>  <br/><span style='font-size:12px;font-family:Tahoma;'> <b> From: </b> &nbsp;Gaurav.Bhandari@wns.com <br/> <b>Sent</b>&nbsp;Friday, September 20, 2013 5:04:18 PM<br/> <b> To: </b> &nbsp;CSS-CA@wns.com <br/><b> CC: </b> &nbsp; <br/><b> Subject: </b> &nbsp;Search with created by</span> <br/><br/>


    but when Radeditor loaded i am unable to see text which i appended to existing HTML ( mentioned Above)

    unable to figure out what causing this issue.
  2. Ianko
    Admin
    Ianko avatar
    1956 posts

    Posted 27 Sep 2013 Link to this post

    Hi Sachin,

    Currently I can only make assumptions on how is the logic for setting this contents is implemented.

    Could you please provide more details on:
    • How the original HTML is set to the content?
    • How the additional content is appended?
    • What happens if you use valid HTML for the content? Note that RadEditor is designed to work with HTML content and if invalid markup is originally provided its logic may break. You can simply paste the MS Word document in the editor and it will clean its formatting and convert it to HTML.
    • Could you try to reproduce the problem with this online demo? And let me know the exact steps of reproducing.

    It would be helpful for me to assist you if you could create and attach a simple project, which I could reproduce the problem on my end.


    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top