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

Tabing issue with RadExpander and RadTileViewItem

5 Answers 115 Views
Expander
This is a migrated thread and some comments may be shown as answers.
SivaPrasad Bevara
Top achievements
Rank 1
SivaPrasad Bevara asked on 18 Nov 2010, 03:41 PM

Hi,

I am facing tabing problem with the RadExpander and RadTileViewItem controls.

I have one RadDatePicker and after that a set of controls in the RadExpander. When I clcik tab in the datepicker control it is taking specific number of tab hits to move to the controls in the RadExpander. 

The number of tab hits are varying based on the controls in the RadExpander control.
I have similar problem with the RadTileViewItem also.

Please help me.

Regards,
SivaPrasad.B

5 Answers, 1 is accepted

Sort by
0
Viktor Tsvetkov
Telerik team
answered on 23 Nov 2010, 05:48 PM
Hi SivaPrasad Bevara,

Please accept our apologies for the late answer. Could you please clarify a bit more what exactly your problem is and may be send a sample project that reproduces it, or send a screencast?

All the best,
Viktor Tsvetkov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
SivaPrasad Bevara
Top achievements
Rank 1
answered on 24 Nov 2010, 07:59 AM
Hi,

I got solution for the above issue.

It is because of some custom control which we are using in the RadExpander. I fixed that.

Now I am facing another problem with Rad Expander.

The issues is, After tabing through all the controls in the RadExpander it is going to the RadExpander's header.

I have 1 textbox and 2 RadExpanders in my page, and I want to traverse through all the controls by tabing.

Following is the sample code which I am using.

<StackPanel Orientation="Vertical">
        <TextBox Width="100" Height="20" TabIndex="1"></TextBox>
        <Telerik:RadExpander x:Name="ra1" IsExpanded="True" Header="First" IsTabStop="False">
            <StackPanel Orientation="Vertical">
                <StackPanel Orientation="Horizontal">
                    <TextBlock Text="name"></TextBlock>
                    <TextBox Width="100" Height="20" TabIndex="3"></TextBox>
                    <TextBox Width="100" Height="20" TabIndex="4"></TextBox>
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <TextBox Width="100" Height="20" TabIndex="5"></TextBox>
                    <TextBox Width="100" Height="20" TabIndex="6"></TextBox>
                </StackPanel>
            </StackPanel>
        </Telerik:RadExpander>
        <Telerik:RadExpander x:Name="ra2" IsExpanded="True" IsTabStop="False">
            <Telerik:RadExpander.Header>
                <TextBlock Text="Second"></TextBlock>
            </Telerik:RadExpander.Header>
            <StackPanel Orientation="Vertical">
                <StackPanel Orientation="Horizontal">
                    <TextBox Width="100" Height="20" TabIndex="8"></TextBox>
                    <TextBox Width="100" Height="20" TabIndex="9"></TextBox>
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <TextBox Width="100" Height="20" TabIndex="10"></TextBox>
                    <TextBox Width="100" Height="20" TabIndex="11"></TextBox>
                </StackPanel>
            </StackPanel>
        </Telerik:RadExpander>
    </StackPanel>

In the above, when I click on tab in the first textbox, it is properly entering into the RadExpander. But after traversing all the controls in the RadExpander using tab it is moving to the RadExpanders header and then moving to the next RadExpanders controls. And I dont want the focus to go to the RadExpanders herader.

Please help.

Regards,
SivaPrasad.B
0
Viktor Tsvetkov
Telerik team
answered on 26 Nov 2010, 10:56 AM
Hello SivaPrasad Bevara,

Currently this behavior is by design, so you can edit the default style of the RadExpander in Blend, find the template part "HeaderButton" and set IsTabStop = False, because currently it is set to true. If you have further questions feel free to ask.

Greetings,
Viktor Tsvetkov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 02 Mar 2012, 08:02 PM
Hello Viktor,
I have the same problem on a RadExpander where I want IsTabStop="False" for it.
Why don't just set the IsTabStop dependency property of the header to the same value as the IsTabStop dependency property of the RadExpander?
It would be a very simple correction to this problem.
Patrick
0
Petar Mladenov
Telerik team
answered on 06 Mar 2012, 01:14 PM
Hi Patrick ,

 We agree with you. We logged a bug in our PITS and we will do our best to have it fixed for the Service Pack later this month. Thank you for your cooperation.

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
SivaPrasad Bevara
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
SivaPrasad Bevara
Top achievements
Rank 1
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Petar Mladenov
Telerik team
Share this question
or