tab over toolbar

2 posts, 1 answers
  1. sircutbreaker
    sircutbreaker avatar
    111 posts
    Member since:
    Oct 2007

    Posted 06 Jun 2008 Link to this post

    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
  2. Answer
    Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 10 Jun 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top