Listbox and tabfocus of child controls

2 posts, 0 answers
  1. Dwight
    Dwight avatar
    12 posts
    Member since:
    Feb 2013

    Posted 07 Jan 2015 Link to this post

    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
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 09 Jan 2015 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top