We're currently working on a mailmerge app and are keeping metadata within each letter we create (to tell the app what the name of the letter should be, what the header and footer logos should be, the email details, etc.). An example is below:
<blink emailbody="<P>
<\P>" fromline="eg@example.com" toline="[[~Email]]" subject="t/o ref diff to cc" footer="http://earnpsqldb01/letters/logos/[[brand]]Footer.html" header="http://earnpsqldb01/letters/logos/[[brand]]Header.html" ver="1.0" name="t_o ref diff to cc for [[~Title]] [[~Name]] (ID [[~ID]])"><br />
When the user runs a spell check on the letter we find that it is leaving bits of data behind - this is breaking the PDF and email functions. See below:
<blink emailbody="<P>
<\P>" fromline="eg@example.com" toline="[[~Email]]" subject="t/o ref diff to cc" footer="<span class='RadEWrongWord' id='RadESpellError_0'>http</span>://<span class='RadEWrongWord' id='RadESpellError_1'>earnpsqldb01</span>/letters/logos/[[brand]]Footer.<span class='RadEWrongWord' id='RadESpellError_2'>html</span>" header="<span class='RadEWrongWord' id='RadESpellError_3'>http</span>://<span class='RadEWrongWord' id='RadESpellError_4'>earnpsqldb01</span>/letters/logos/[[brand]]Header.<span class='RadEWrongWord' id='RadESpellError_5'>html</span>" ver="1.0" name="t_o ref diff to cc for [[~Title]] [[~Name]] (ID [[~ID]])"><br />
Is there any way to fix the spellcheck so that it removes ALL trace of itself?
Warren
9 Answers, 1 is accepted
I tried to reproduce the problem but without success. Could you please see the following video and let me know what I am missing: http://screencast.com/t/r1h9wH7N?
It is also recommended when using custom tags to apply a namespace. See this article for more information: Using Custom Tags in Internet Explorer.
My suggestion is to also try the standalone spellchecker which should fix the problem: Using RadSpell "Prometheus" dialog with RadEditor "Prometheus" as a custom tool.
Greetings,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Thanks.
I’ll have a look at your links and the Prometheus checker. It looks like the spell checker is looking inside tags.
I’ve uploaded a screencast that shows the issues that we get with our version – it might help you see the problems we’ve been having.
http://screencast.com/t/7rqVgvz7fOj
Warren
The solution is to comment the custom tag and the spellchecker will not spell check it, e.g.
<!--blink emailbody="<
P
>
<\P>"
fromline="eg@example.com"
toline="[[~Email]]"
subject="t/o ref diff to cc dasda"
fozzzoter="http://earnpsqldb01/letters/logos/[[brand]]Footer.html"
header="http://earnpsqldb01/letters/logos/[[brand]]Header.html"
ver="1.0"
name="t_o ref diff to cc for [[~Title]] [[~Name]] (ID [[~ID]])">
[[today]]
</
blink--
>
Best regards,
Rumen
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
Loading a file seem to remove the comments and all the contents within it. Or am I doing it wrong?
Warren
You should not experience such a problem. I tried to reproduce it with the live demos but without success. Could you please see the following video http://screencast.com/t/fYNLGjoNAx and let me know what I am missing?
Kind regards,
Rumen
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
You don't seem to be missing anything from your example other than loading the document using your own file manager.
Here's my example:
http://www.screencast.com/t/ieDLp2A3n8bY
Could you please try to add some extra content (a simple should be enough) before the comment tag and see if the problem still occurs?
Best wishes,
Dobromir
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
I tried with several combination of spaces, newlines, metadata inside/outside the blink tags. It looks like all comments are stripped from the HTML when either the text is loaded from the disk or inserted in the radeditor.
Warren
If there isn't at least one character before the comment then it is stripped from the file.
I got around the problem by putting a BEFORE the comment, i.e.
<!--<blink
footer="http://lownptravdev01/letters/logos/[[brand]]Footer.html"
header="http://lownptravdev01/letters/logos/[[brand]]Header.html"
emailbody="<P> <\P>"
etc...
Now the spellchecker ignores the content of my meta data.
Thanks,
Warren