Tabing issue with RadExpander and RadTileViewItem

6 posts, 0 answers
  1. SivaPrasad Bevara
    SivaPrasad Bevara avatar
    73 posts
    Member since:
    Oct 2012

    Posted 18 Nov 2010 Link to this post

    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

  2. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 23 Nov 2010 Link to this post

    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
  3. DevCraft banner
  4. SivaPrasad Bevara
    SivaPrasad Bevara avatar
    73 posts
    Member since:
    Oct 2012

    Posted 24 Nov 2010 Link to this post

    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
  5. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 26 Nov 2010 Link to this post

    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
  6. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 02 Mar 2012 Link to this post

    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
  7. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 06 Mar 2012 Link to this post

    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 >>
Back to Top
DevCraft banner