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

IsTabStop

3 Answers 178 Views
Expander
This is a migrated thread and some comments may be shown as answers.
MiddleTommy
Top achievements
Rank 1
MiddleTommy asked on 13 Nov 2009, 01:33 AM
When setting the RadExpander.IsTabStop to false the control still responds to tab

<t:RadExpander MaxWidth="350" MinWidth="350" IsTabStop="False" Margin="10" IsExpanded="True" Name="xDrawing"
                    <t:RadExpander.Header> 
                        <StackPanel Orientation="Horizontal"
                            <TextBlock Text="DRAWING:" Width="55" Margin="0,5,20,2"/> 
                            <t:RadButton x:Name="btnAddDwg" IsTabStop="False"  Content="+" Width="25" Height="20" Margin="10,0,0,5" ToolTip="Click to add a new Drawing to the current Job./nAlt D"  Click="btnAddDwg_Click" /> 
                            <t:RadButton x:Name="btnDeleteDwg" Content="-" IsTabStop="False" Width="25" Height="20" Margin="10,0,0,5" ToolTip="Remove Assembly" Click="btnDeleteDwg_Click"/> 
                        </StackPanel> 
                    </t:RadExpander.Header> 
                <StackPanel> 
                    <StackPanel Margin="3,3,3,3" Orientation="Horizontal"
                        <TextBlock Text="Drawing#" Margin="0,2,2,2"/> 
                        <xcd:AutoSelectTextBox x:Name="txtdwgNo" Text="{Binding CurrentDrawing.dwgNo}" AutoSelectBehavior="OnFocus" Width="100" Margin="3,3,3,3" TextChanged="UCase_TextChanged"/> 
                        <TextBlock Text="Date" Margin="20,2,2,2"/> 
                        <xcd:AutoSelectTextBox x:Name="txtDate" Text="{Binding CurrentDrawing.dwgDate}" AutoSelectBehavior="OnFocus" Width="125" Margin="3,3,3,3"  TextChanged="UCase_TextChanged"/> 
                    </StackPanel> 
                    <StackPanel Margin="3,3,3,3" Orientation="Horizontal"
                        <TextBlock Text="Drawn By" Margin="0,2,2,2"/> 
                        <xcd:AutoSelectTextBox x:Name="txtDrawnBy" AutoSelectBehavior="OnFocus" Text="{Binding CurrentDrawing.dwgBy}" Width="200" Margin="3,3,3,3"/> 
                        <TextBlock Text="HOLD" Margin="20,2,2,2"/> 
                        <xcd:CheckBox Name="chkDWGHold" Margin="3,3,3,3" IsChecked="{Binding CurrentDrawing.hold}"/> 
                    </StackPanel> 
                </StackPanel> 
            </t:RadExpander> 

TabStop should still work for internal controls unless IsExpanded = false;

3 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 18 Nov 2009, 03:17 PM
Hello Tommy,

For the next major(Q) release, we will invest more time in improving our controls' keyboard navigation. For your particular scenario, you can edit the ControlTemplate of RadExpader and set IsTabStop="False" to the button called HeaderButton. I have attached a sample project demonstrating this functionality. Have a look at it and let me know how it works for you.

Greetings,
Kiril Stanoev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Evan
Top achievements
Rank 1
answered on 27 Mar 2012, 08:59 PM
Hello Kiril,

I've run into the same problem where I do not want the tabbing to stop on the RadExapnder. I downloaded the attachment you had but it still doesn't work.

Does anyone know how to set IsTabStop=False on a RadExpander and make it work? Setting this even in the template apparently is not working as well.

Thanks!
Evan
0
Petar Mladenov
Telerik team
answered on 28 Mar 2012, 07:19 AM
Hello Evan ,

 Please try your scenario with the RadControls from Q1 2012 SP (0326) that we released this Monday. The IsTabStop of the HeaderButton in the Expander's Template is now bound to the IsTabStop of the Expander.
This should have fixed your scenario.

Greetings,
Petar Mladenov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Expander
Asked by
MiddleTommy
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Evan
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or