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

RadNumericUpDown does not handle TabIndex properly

1 Answer 78 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
John Thompson
Top achievements
Rank 2
John Thompson asked on 28 Jan 2011, 06:34 PM
I have the following control defined in a simple Grid control:

<telerik:RadNumericUpDown x:Name="TotalTimeSpent" Grid.Column="1" Grid.Row="1" Focusable="True" LargeChange="1.0" SmallChange="0.1" Value="0.1" Maximum="24.0" Minimum="0.0" TabIndex="1" UpdateValueEvent="PropertyChanged" ValueFormat="Numeric" />

Note that I have specified a TabIndex of 1.  However when I tab through the UIElemets in the Window the RadNumericUpDown is always last.  I have discovered that the template TextBox has a TabIndex of 2147483647 causing this behavior.  As a work around I do this: 

TextBox totalTimeSpent = TotallTimeSpent.FindChildByType<TextBox>() as TextBox;
 
if (totalTimeSpent != null)
{
    totalTimeSpent .TabIndex = TotalTimeSpent .TabIndex;
}

in the Loaded event.  The result is as if the TabIndex was propagated to the templated TextBox.

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 01 Feb 2011, 01:04 PM
Hi John,

Thank you for contacting us.

We are aware of this issue and we have already logged it in our Public Issue Tracking System (PITS). You can view it here. You can vote for it, track its status and see when it is going to be implemented.
Sorry for any inconvenience caused.

Please let us know if you have any other questions about our controls.

All the best,
Konstantina
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
NumericUpDown
Asked by
John Thompson
Top achievements
Rank 2
Answers by
Konstantina
Telerik team
Share this question
or