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.
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.