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

htmlfile: Unexpected call to method or property access.

1 Answer 96 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Pete
Top achievements
Rank 1
Pete asked on 14 Sep 2010, 07:29 PM
Hello,
I'm using the latest RadSpell and the ControlsToCheck property.  All works fine except when I try to manually change the word in the rad spell "Not in Dictionary" text box.  The steps to produce are as follows: 1) I click Spell check, 2) I click in the "Not in Dictionary" rad text box to fix the word. 3) I fix the word manually and click change. I then get a java script error:

htmlfile: Unexpected call to method or property access.  It breaks on the following line of script code: 
if( c&&!e.get_editMod()) (var d=function() 
(e.get_textContainer().scrollTop=c.offsetTop; c.focus();


Setting the focus (c.focus();)  is where it breaks.  Running in release mode this wiil erase any text in the rad spell check text box.  In debug I get the above error.  Any insight would help.
Thanks,
Pete

P.S. I should mention that I'm not checking RadText Box controls here. Only asp text boxes. thanks.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Sep 2010, 01:26 PM
Hi Pete,

This error was reported for RadControls for ASP.NET AJAX Q1 2010 SP (version 2010.1 415) and fixed in Q1 2010 SP2 (version 2010.1.519), e.g.

Fixed: RadSpell Error - Unexpected call to method or property access

Could you please ensure that you are indeed using the latest Q2 2010 SP2  (version 2010.2.826), where this problem should not be reproducible?

Are you able to reproduce the problem in the live demos of RadSpell: http://demos.telerik.com/aspnet-ajax/spell/examples/whatsnew/defaultcs.aspx?

Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Spell
Asked by
Pete
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or