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

disabling spell suggestion dropdown

2 Answers 43 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 11 Aug 2008, 08:19 PM
I am trying to add an entry into a web.config file that will allow the enabling/disabling of the spell check suggestion dropdown.  When disabled, I would like the misspelled words to be highlighted and that is all.  What property can I set to accomplish this?

2 Answers, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
answered on 11 Aug 2008, 10:34 PM
Until I can get a better suggestion from someone for doing this, I am having to test for the 'true' value of my web.config key/value pair in my .aspx.cs codebehind page for the page that hosts the editor/spell controls and programmatically embed a new HiddenField control on the html page.  Then I modified your RadEditor.js file and enclosed the two calls to ShowSuggestionDropdown() in if-statements that check for the existence of the HiddenField by using the javascript getElementById() method, and then make the calls to the ShowSuggestionDropdown() method if it does exist.  It seems like a kludge, but it does work for now.  I would like a more elegant solution, preferrably with a simple property I can set on the editor/spell control.
0
Georgi Tunev
Telerik team
answered on 13 Aug 2008, 01:53 PM
Hello C,

Currently RadSpell does not support such functionality. I logged it as a feature request in our database and if more users request it, we will consider adding such property for the control.

Your points were updated.


All the best,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Spell
Asked by
Chris
Top achievements
Rank 1
Answers by
Chris
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or