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

tab over toolbar

1 Answer 56 Views
Editor
This is a migrated thread and some comments may be shown as answers.
sircutbreaker
Top achievements
Rank 1
sircutbreaker asked on 06 Jun 2008, 11:29 AM
I have an editor set up with a title similar to this page.. but when i tab out of the title... it goes into the toolbar... where i have to tab through all the tools to get to the body... how do i set it to not tab through the toolbar?


thanks

Jeff

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 10 Jun 2008, 10:30 AM
Hello sircutbreaker,

Here is a workaround that will prevent editor tools from being recognized as tabstops by the browser:

<script type="text/javascript">
function OnClientLoad(editor, args) 

   var buttonsHolder = $get(editor.get_id() + "Top");  
   var buttons = buttonsHolder.getElementsByTagName("A");  
   for (var i=0; i< buttons.length; i++) 
   { 
      var a = buttons[i]; 
      a.tabIndex = -1; 
      a.tabStop = false; 
   }  
}
</script>

<telerik:radeditor runat="server" OnClientLoad="OnClientLoad" ID="RadEditor1">
</telerik:radeditor> 




Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
sircutbreaker
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or