I've placed some RadMaskedNumericInput controls in a RadTreeView and want to set the TabIndex via Binding.
But the binding is not working. I get alway a 0.
Are there any workarounds to set a TabIndex for navigation via Tab key.
Regards
Dirk
3 Answers, 1 is accepted
I was unable to reproduce this issue. You can test my application where I have a RadTreeView bound to collection of ViewModels. In the ItemTemplate we have StackPanel holding TextBox, StackPanel and MaskedNumericInput. The TabIndex of the MaskedInput is successfully bound to an integer property in the ViewModel. Please note that in some cases the TabIndex may not work for you and you may need to use the KeyDown event handler of the RadTreeViewItem and implement your own navigation. Could you please elaborate more on your scenario if it is more complex from the one in the project ?
Kind regards,Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
I'm late ;-) but I'm just jumping back to this issue in my task list.
I've tested your example and it seems to show the correct way, but ...
.. do you know how to set the TabIndex for jumping directly from one control to another without focusing the treeview element like it does in your example.
Thank you and merry christmas.
Dirk
Playing with Focus in Silverlight is usually tricky. I prepared a custom focus changing by using the KeyDown of the RadMaskedNumericInout. Please check it out, hope you get the basic idea - playing with the ChildrenOfType and ParentOfType methods and invoking the Focus() method.
All the best,Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>