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

tab navigation problem inside radpanegroup

1 Answer 55 Views
Docking
This is a migrated thread and some comments may be shown as answers.
alex
Top achievements
Rank 1
alex asked on 16 May 2011, 01:40 AM
Hello,

I encounter a problem with tab navigation in this context :
<UserControl x:Class="SilverlightApplication3.MainPage"
        xmlns:input="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
        xmlns:navigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
        xmlns:docking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"
        mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400">
 
    <Grid x:Name="LayoutRoot" Background="White">
        <docking:RadDocking>
            <docking:RadSplitContainer>
                <docking:RadPaneGroup>
                    <docking:RadPane>
                        <navigation:RadPanelBar>
                            <navigation:RadPanelBarItem IsExpanded="True">
                                <Grid>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <input:RadNumericUpDown Grid.Row="0"  />
                                    <input:RadNumericUpDown Grid.Row="1"  />
                                    <input:RadNumericUpDown Grid.Row="2"  />
                                </Grid>
                            </navigation:RadPanelBarItem>
                        </navigation:RadPanelBar>
                    </docking:RadPane>
                </docking:RadPaneGroup>
            </docking:RadSplitContainer>
        </docking:RadDocking>
 
    </Grid>
</UserControl>

When I'm in a radnumericupdown, I can't navigate to the next one with the Tab key. I think it's because the radPaneGroup steal the focus when a component inside get the focus (because I already experienced this problem).

Can you tell me if there is a workaround ?

Note : I'm using the RadControls Q3 2010 SP1

Thank you

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 19 May 2011, 06:12 PM
Hi alex,

Please accept our apology for the delayed response. We investigated your issue and the cause lies in the RadPanelBarItem implementation. However, we will need more time to fully investigate it. This is why I logged it as a bug in our PITS under the name PanelBar: If the PanelBarItem contains Grid, you cannot Tab through its elements and you will be able to track its progress from tomorrow the latest.

In the meantime, you can workaround this issue by placing the Grid holding the NumericUpDown controls inside a ContentControl for example. Basically, the RadPanelBarItem gives the focus to the Grid control which causes this behavior. So if you place the Grid inside another control, the control will get the focus and then will transfer it directly to the NumericUpDown controls thus enabling your next tab navigation. So you will either need to place the NumericUpDownControls inside an ItemsControl or place them in a Grid placed inside a ContentControl:
<telerik:RadPanelBarItem IsExpanded="True" Header="Item 1" >
    <ContentControl TabNavigation="Local" IsTabStop="False">
        <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <telerik:RadNumericUpDown Grid.Row="0" />
        <telerik:RadNumericUpDown Grid.Row="1" />
        <telerik:RadNumericUpDown Grid.Row="2" />
        </Grid>
    </ContentControl>
</telerik:RadPanelBarItem>

I also updated your Telerik account for bringing this issue to our attention.

Kind regards,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
alex
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or