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

IsTabStop="False" not working for AutoCompleteBox

1 Answer 79 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Kellie
Top achievements
Rank 1
Kellie asked on 10 Jul 2014, 09:33 PM
IsTabStop="False" is not working for the AutoCompleteBox.
I was not going to use this control because of this problem.

I found a solution by googling elsewhere and will post it here.
Instead of using IsTabStop="False" use: KeyboardNavigation.TabNavigation="None"

NOTE:
When RadComboBox has IsEditable="True" then, like AutoCompleteBox, IsTabStop="False" does not work.
This solution will also apply to the RadComboBox problem.

I have my working AutoCompleteBox set up as below.​ I have bolded the code that will make tabbing skip the control.

<telerik:RadAutoCompleteBox Grid.Column="1" Grid.Row="0" 
   SelectionMode="Single"         
   WatermarkContent="Type a bylaw"    
   TextSearchMode="StartsWith"          
   TextSearchPath="Code"
   AutoCompleteMode="SuggestAppend"
   ItemsSource="{Binding Bylaws}"
   DropDownItemTemplate="{StaticResource BylawSearchTemplate}"
   SelectedItem="{Binding SelectedBylaw, Mode=TwoWay}"
   DropDownWidth="Auto"
   Style="{StaticResource EditRadAutoCompleteBox}"
   KeyboardNavigation.TabNavigation="None" /> 



1 Answer, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 11 Jul 2014, 08:22 AM
Hello Kellie,

Thank you for the information. We confirm this is a valid workaround for the issue with IsTabStop="false". I've updated your Telerik Points as a small sign of our appreciation for sharing the workaround with community.

Feel free to contact us in case you have any other problems or concerns.

Regards,
Rosen Vladimirov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
AutoCompleteBox
Asked by
Kellie
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Share this question
or