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

[Solved] EditDistanceProvider not working

3 Answers 175 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 29 Dec 2009, 10:01 PM
If you go to your demo and run http://demos.telerik.com/aspnet-ajax/spell/examples/phoneticalgorithm/defaultcs.aspx
please do the following: enter the word Tresting
Phonetic won't give you a testing suggestion
while edit distance does give me testing suggestion.

ok so I go back to my code and add the edit distance based spelling search to my rad editor. But this does not work. When I search I do not get the testing suggestion. It gives me the same suggestions as the Phonetic based search. Please help, thanks.

 

<telerik:RadEditor runat="server" ID="retNotesEditor" SkinID="BasicSetOfTools" Height="400px" OnClientLoad="OnClientLoad" SpellCheckSettings-SpellCheckProvider="EditDistanceProvider" spell>

 

 

<Content>

 

 

</Content>

 

 

</telerik:RadEditor>

 



3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 30 Dec 2009, 05:02 AM
Hi Martin,

You have set the SkinID property. Can you please delete it and test again? I noticed also that the declaration of the editor contains the string spell which makes it incorrect, e.g.

<telerik:RadEditor runat="server" ID="retNotesEditor" SkinID="BasicSetOfTools" Height="400px" OnClientLoad="OnClientLoad" SpellCheckSettings-SpellCheckProvider="EditDistanceProvider" spell> ...

For your convenience I have attached my project and video demonstrating that the EditDistanceProvider works well on my side. Are you able to reproduce the problem with the attached project on your end?

Best wishes,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Martin
Top achievements
Rank 1
answered on 30 Dec 2009, 03:34 PM
I saw the video and I also ran the project and it worked. Thank you very much for your assistance.
Then I made the tweaks removing spell and the skinID and it did not work in my project. But I've noticed something, you used the telerik controls 2009.3.1208.20, while we are using  2009.1.527.35 which is 2 versions behind. Would this have something to do with it?
0
Rumen
Telerik team
answered on 30 Dec 2009, 07:04 PM
Hi Martin,

There are not any breaking changes in the latest Telerik.Web.UI version and you can safely upgrade the dll in your project with the latest one 2009.3.1208. If you still experience the problem after the upgrade, please isolate the problem in a sample working project and send it for examination via a support ticket.

Have a Great New Year 2010,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Martin
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Martin
Top achievements
Rank 1
Share this question
or