Hi I have 12 Textarea Controls which I spell check using the RAD spell control.
I use the MultipleTextSource(sources) function provided on the documentation section. http://www.telerik.com/help/aspnet-ajax/spell_howtomutlipletextareas.html
Everything works great but I was wondering if there is a way to use a distinct controlSeperator for each Text Area so I can put labels in the spell checker window.
Is this possible?
I use
the site.
I use the javascript
I use the MultipleTextSource(sources) function provided on the documentation section. http://www.telerik.com/help/aspnet-ajax/spell_howtomutlipletextareas.html
Everything works great but I was wondering if there is a way to use a distinct controlSeperator for each Text Area so I can put labels in the spell checker window.
Is this possible?
function MultipleTextSource(sources) { | |
this.sources = sources; | |
this.get_text = function() | |
{ | |
var texts = []; | |
for (var i = 0; i < this.sources.length; i++) | |
{ | |
texts[texts.length] = this.sources[i].get_text(); | |
} | |
return texts.join("<controlSeparator><br/>LABEL 1<br/></controlSeparator>"); | |
} | |
this.set_text = function(text) | |
{ | |
var texttexts = text.split("<controlSeparator><br/><br/></controlSeparator>"); | |
for (var i = 0; i < this.sources.length; i++) | |
{ | |
this.sources[i].set_text(texts[i]); | |
} | |
} | |
} |
I use
the site.
I use the javascript