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

Listbox and tabfocus of child controls

1 Answer 149 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Dwight
Top achievements
Rank 1
Dwight asked on 07 Jan 2015, 02:42 PM
Hi all,

I updated to the latest version of Telerik's UI for WPF, from version 2013.1.403.40 to 2014.3.1305.40.

In our application we have RadListbox which is bound to a list of items. The datatemplate used holds 2 usercontrols and a button.
The usercontrol in itself has a numericupdown and maskedtextbox. So when all items are rendered there are five controls per listbox item/line.

Now in the past when the user selected one of the controls inside the datatemplate and then tabbed away, all controls in all the items would be cycled over, this is how the user wants to use it. Now with the new version this behavior is not present anymore, when the user selects for example the first maskedtextbox of the first item and tabs, the focus is moved to other fields outside of the listbox and when cycling further, the listbox its items (controls inside it) are never tabbed over again... When I just change the version of the Telerik dll's back to the old ones, I get the behaviour expected.

I've setup a small POC showing that this happens with the RadListBox but not with an ItemsControl.

Any help is appreciated, thnx in advance!

See http://1drv.ms/141ezct for the files.

Dwight

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 09 Jan 2015, 03:06 PM
Hello Dwight,

Thanks for bringing this to our attention. Indeed we have changed that navigation behavior, however the one in your scenario is not expected one, so I logged it on internal backlog. You can achieve the old behavior by simply setting the KeyboardNavigation.TabNavigation property to continue:

<telerik:RadListBox ItemsSource="{Binding Items}" Margin="10" KeyboardNavigation.TabNavigation="Continue" />

Hope this helps. I have also updated your Telerik points for your involvement.

Regards,
Kalin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ListBox
Asked by
Dwight
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or