Editor not parsing html

Last post 12-13-2005, 4:49 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  11-03-2005, 12:21 AM 12197

    Editor not parsing html

    Help.  I am using cute editor to write emails.  When I insert some previous emails for a reply, the following text is attached to the front of the email.  When I use Editor1.Text = thisstring,  the editor does not display the html properly.
     
    >-->yle> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);}
    </div>&lt;![endif]--&gt; <o:smarttagtype xmlns:o="http://unknownprefix/o" o="http://unknownprefix/o" name="PlaceName" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:smarttagtype><o:smarttagtype xmlns:o="http://unknownprefix/o" o="http://unknownprefix/o" name="PlaceType" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:smarttagtype><o:smarttagtype xmlns:o="http://unknownprefix/o" o="http://unknownprefix/o" name="City" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:smarttagtype><o:smarttagtype xmlns:o="http://unknownprefix/o" o="http://unknownprefix/o" name="place" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:smarttagtype>--&gt;yle&gt; st1\:*{behavior:url(#default#ieooui) } &lt;![endif]--&gt; <style></style><!--[if gte mso 9]>-->l&gt;
     
    <o:shapedefaults ext="edit" spidmax="1026" o="http://unknownprefix/o" xmlns:o="http://unknownprefix/o" />&lt;![endif]--&gt;
    <!--[if gte mso 9]>-->l&gt;
     
    <o:shapelayout ext="edit" o="http://unknownprefix/o" xmlns:o="http://unknownprefix/o"><o:idmap ext="edit" data="1" /></o:shapelayout>&lt;![endif]--&gt;
     
    All the editor shows is the following:
     
    -->yle> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} <![endif]--> -->yle> st1\:*{behavior:url(#default#ieooui) } <![endif]-->
     
     
    Thanks for your help.
     
    Mark
     
  •  12-13-2005, 4:49 PM 13850 in reply to 12197

    Re: Editor not parsing html

    Mark,
     
    Before you pass the above HTML code into the editor, please use the Editor.CleanUpMicrosoftWordHTML Method to remove the extraneous HTML code generated by Microsoft Word.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML