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

setfocus in radeditor doesnot work in firefox

4 Answers 70 Views
Editor
This is a migrated thread and some comments may be shown as answers.
priya nallaperumal
Top achievements
Rank 1
priya nallaperumal asked on 02 Apr 2010, 08:50 AM
editor.setfocus() function works fine in IE.. but it doesn't work in FireFox....
cursor doesn't place within the content area of the radeditor in firefox....
please help me...


function ClientLoad(editor, args)
{              
   var editorObject = editor;
   //set the focus in the editor
   setTimeout(function()
   {
         editorObject.SetFocus();
   }, 10);
}

 <telerik:RadEditor ID="RdEditor1" Runat="server" Height="100px" Width="450px" EditModes="Design" OnClientCommandExecuting="OnClientCommandExecuting" ContentFilters="MakeUrlsAbsolute"  OnClientLoad="ClientLoad">
                <Tools>
                <telerik:EditorToolGroup Tag="bold">
                    <telerik:EditorTool Text="B" Name="Bold" />
                    <telerik:EditorTool Text="i" Name="Italic"/>
                    <telerik:EditorTool Text="U" Name="Underline"/>
                     </telerik:EditorToolGroup>
   </Tools>
  <Content></Content>
  </telerik:RadEditor>  
thanks & regards,
priya.
              

4 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 02 Apr 2010, 02:02 PM
Hi Priya,

You should rename the SetFocus method to setFocus.

For your convenience I have attached my test project.


Sincerely yours,
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
priya nallaperumal
Top achievements
Rank 1
answered on 03 Apr 2010, 07:25 AM
RadEditor is works fine in IE but it not works in Firefox... cursor focus on Toolbar button (bold button) not in the content area...
in my code. i am using timer control & Radeditor is controlled by ajax manager..
help me. please....


0
Rumen
Telerik team
answered on 05 Apr 2010, 08:27 AM
Hi Priya,

I am not aware of this problem. Are you able to reproduce this problem with the Auto-Save Demo?

If the problem is not reproducible in the live example, my suggestion is to upgrade your project to the latest version 2010.1.309 of Telerik.Web.UI.dll and test again.

If the problem still persists after the upgrade, please open a support ticket and send a sample fully working project along with step-by-step instructions about how to reproduce the unwanted behavior.

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.
0
priya nallaperumal
Top achievements
Rank 1
answered on 05 Apr 2010, 11:40 AM
thanks. it works fine in ie and firefox..
Tags
Editor
Asked by
priya nallaperumal
Top achievements
Rank 1
Answers by
Rumen
Telerik team
priya nallaperumal
Top achievements
Rank 1
Share this question
or