AUTHOR: Rumen Zhekov
DATE POSTED: September 26, 2018
Tab Index 1:
<telerik:RadTextBox runat=
"server"
ID=
"RadTextBoxInput"
TabIndex=
"1"
></telerik:RadTextBox>
<br />
Tab Index 2:
<telerik:RadEditor ID=
"RadEditor1"
Skin=
"Default"
OnClientLoad=
"OnClientLoad"
ContentAreaMode=
"Div"
runat=
>
</telerik:RadEditor>
"RadTextBox2"
"3"
<script type=
"text/javascript"
function
OnClientLoad(editor, args) {
editor.get_contentArea().tabIndex =
"2"
;
//set the tabIndex to the content area
//disable the built-in InsertTab feature which inserts 4 empty spaces on Tab press like in MS Word
editor.removeShortCut(
"InsertTab"
);
"InsertShiftTab"
//disable tabbing through the toolbar buttons
var
buttonsHolder = $get(editor.get_id() +
"Top"
//get a reference to the top toolbar zone of the editor
buttons = buttonsHolder.getElementsByTagName(
"A"
//get a reference to all A elements on the toolbar and disable the tabbing through them
for
(
i = 0; i < buttons.length; i++) {
a = buttons[i];
a.tabIndex = -1;
a.tabStop =
false
}
</script>
Resources Buy Try