Re: Changing Behavior of TAB Key

  •  07-01-2008, 6:08 PM

    Re: Changing Behavior of TAB Key

    Hi Adam,
     
    Thanks for the suggestion. Unfortunately, setting TabSpaces to 0 doesn't work. Setting it either by adding TabSpaces="0" to the markup or by coding ctrlEditor.TabSpaces = 0 in the code-behind sets the editor to insert 4 nonbreaking spaces on a TAB. (I guess 4 is some sort of "default" setting.)
     
    Your suggestion did however lead me to finding the solution: setting TabSpaces = -1 makes the TAB key switch focus to the next control on the page.
     
    Thanks for the help,
     
    ~ Jim Fennell
     
View Complete Thread