Hi Telerik, I need to add Template sentences from database with existing content.What can i do?.
3 Answers, 1 is accepted
0
Rumen
Telerik team
answered on 02 Feb 2011, 08:49 AM
Hello ARUNTHOMAS,
RadEditor does not offer mail merge functionality and you should implement it yourself.
Perhaps the easiest way to tackle this task would be to use *system* strings that have some fixed starting and ending characters, e.g. ##FirstName##, or @@FirstName@@ - or something similar.
You should instruct your users what the list of those *system*strings is, so that they can insert those where needed. Then, on the server side, all you need to do is run some simple String.Replace methods that will replace such a string with the exact database row data.
Thankyou Rumen ,
I am taking about auto complete.In that i need to get the plain text to compare then i need to set the plain text.For which i asked....
Thanks.
0
Rumen
Telerik team
answered on 04 Feb 2011, 03:58 PM
Hi ARUNTHOMAS,
This custom feature is also not supported out-of-the box by the controls and you should implement it yourself. You may find useful the code provided in the following forum thread: On-The-Fly find/replace of editor text.