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

[Solved] Spell Check functionality is not starting from first word.

7 Answers 134 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Babita Sobhani
Top achievements
Rank 1
Babita Sobhani asked on 03 Aug 2009, 03:11 PM
Hi
I am using version ="1.0" of RadEditor with SpellCheck option.
When Spellcheck starts, and if first word on the editor is wrong. Then though this word is highlighted, but SpellCheck options do not appear under this word. It starts from the second word, and the first word remains highlighted, unless I place the cursor on the word and click.
If the first word is correct then Spellcheck functionality works fine.
Request if anyone could help me out withthis issue.
Thanks in advance.

7 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 05 Aug 2009, 11:30 AM
Hello Babita,

There is no 1.0 version of RadControls for ASP.NET AJAX. You could verify the version of the controls that you are using by checking the version of the Telerik.Web.UI.dll file in your project's bin folder.
As for the problem that you experience, if you are using an old version of the controls, I would suggest to consider upgrading to a more recent one. You could test the behavior of the Ajax spellchecker in the latest release in this demo.

All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Babita Sobhani
Top achievements
Rank 1
answered on 15 Aug 2009, 05:43 AM
I have upgraded version of controls to Q1 2009 version of RadEditor. Still the problem persists, i.e as soon as autospellcheck starts, though the first word is highlighted in yellow but the spellcheck options start from second word only.
Please guide me to resolve this problem.
Thanks in advance !!
0
Georgi Tunev
Telerik team
answered on 17 Aug 2009, 01:46 PM
Hello Babita,

I am still unable to reproduce the problem (see attached video). Please open a support ticket and send us a sample project that reproduces this behavior and we will check it right away.


Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Babita Sobhani
Top achievements
Rank 1
answered on 11 Mar 2010, 12:40 PM
What is the current version of Telerik with the spellcheck functionality. Does IE8 support this functionality? Do we have to set any property so that the spell check happens from the starting of the text in the control?

Kindly find the attached file for the case which does not work for us. The first word is highlighted but the spell check suggestion dropdown is not shown properly.
0
Rumen
Telerik team
answered on 11 Mar 2010, 01:25 PM
Hi Babita,

Were you able to reproduce the problem with the latest official version Q1 2010 of RadEditor for ASP.NET AJAX? You can test the editor in its Default Example?

If you are able to reproduce the problem, please attach a screenshot or screenshots demonstrating your test.


All the best,
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.
0
Babita Sobhani
Top achievements
Rank 1
answered on 12 Mar 2010, 01:11 PM
<radE:RadEditor ShowSubmitCancelButtons="false" EnableTab="false" OnClientLoad="attachEventKeyPress" 
            EnableContextMenus="false" Height="600" Width="738" ID="uclExpand" runat="server" ShowHtmlMode ="false" ShowPreviewMode="false"   
            ToolsFile="~/XML STORAGE/BasicTools.xml" StripFormattingOnPaste="All" OnClientCommandExecuting="OnClientCommandExecuting" 
            OnClientCommandExecuted="setgDataChangedOnPage" OnClientSubmit="OnClientSubmit" CssClass="clsTableCellLeft" EnableDocking="false" 
            UseEmbeddedScripts="false" EnableClientSerialize="false" EnableViewState = "false">  
        </radE:RadEditor> 

The javascript used on OnClientLoad

/****************************************************************************************************************  
        Function Name               :   attachEventKeyPress  
        Description                 :   This Function disables the rad editor window, disables paste and context menu and   
                                        performs Auto Spellcheck.  
        Input Parameters            :   editor  
        Returned Values             :   None  
        ********************************************************************************************************************/  
        function attachEventKeyPress(editor)  
        {  
              
            editor.AttachEventHandler ("RADEVENT_DROP", function (sender, e)  
            {  
                return false;  
            });  
 
            editor.AttachEventHandler ("RADEVENT_KEYDOWN", function (sender, e)   
            {  
                if(sender.keyCode > 0)   
                {  
                    sender.keyCode=0;  
                    sender.returnValue=false;  
                    window.status = 'Can not edit the document.';   
                    return false;  
                }   
            });  
              
            editor.AttachEventHandler ("RADEVENT_PASTE", function (sender, e)   
            {                  
                window.setTimeout("cleanUpText()", 50);  
            });  
              
            editor.AttachEventHandler ("oncontextmenu", function (sender, e)   
            {  
               return false;   
            });              
              
            //Added for AutoSpellCheck  
            setTimeout(function()  
          {  
          editor.Fire("AjaxSpellCheck");   
          }, 1000);     
                   
        } 

The spellcheck highlights all the incorrect words but shows the correction dropdown since the 2nd incorrect word.

0
Rumen
Telerik team
answered on 16 Mar 2010, 12:00 PM
Hello Babita,

You have posted your question in the forum for RadEditor for ASP.NET AJAX (Telerik.Web.UI.dll). I saw however from the provided code that you use the classic version of RadEditor (RadEditor.dll), but not the new and much enhanced RadEditor for ASP.NET AJAX.

You have also not answered my questions in my earlier message, e.g.
Were you able to reproduce the problem with the latest official version Q1 2010 of RadEditor for ASP.NET AJAX? You can test the editor in its Default Example. Could you please answer this question?

If you are unable to reproduce the problem, which means that it is fixed, then my recommendation is to migrate to the new editor, because the development of RadEditor Classic is discontinued from more than 2 years ago and we do not support it. We develop the new RadEditor for ASP.NET AJAX only and bug fixes are provided only for the new version.

All the best,
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
Editor
Asked by
Babita Sobhani
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Babita Sobhani
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or