This is a migrated thread and some comments may be shown as answers.

HtmlElementTextSource is still undefined

1 Answer 45 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 02 Jun 2008, 03:26 PM
I am converting my radspell to the new AJAX version.  I have a control which loads all the text boxes on the screen and uses the radspell to check them. I load each textbox as a new HtmlElementTextSource into an array like the posted examples.  However now my HtmlElementTextSource  is undefined.  If I set EnableEmbeddedScripts="false" then my page will not load and blows up in an msajax script when this gets called on load.

Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadSpell, {"_controlToCheck":"","clientStateFieldID":"M_P_ctl00_m_Detail_ItemDetail_spellChecker_radSpellCheck_ClientState","spellChecked":false}, null, {"dialogOpener":"M_P_ctl00_m_Detail_ItemDetail_spellChecker_radSpellCheckdialogOpener"}, $get("M_P_ctl00_m_Detail_ItemDetail_spellChecker_radSpellCheck"));

1 Answer, 1 is accepted

Sort by
0
Brian
Top achievements
Rank 1
answered on 02 Jun 2008, 07:37 PM
Sorry rookie mistake.  Should have used.

Telerik.Web.UI.Spell.HtmlElementTextSource

Tags
Spell
Asked by
Brian
Top achievements
Rank 1
Answers by
Brian
Top achievements
Rank 1
Share this question
or