Disabling Inner Tab key Navigation

5 posts, 1 answers
  1. Olena
    Olena avatar
    11 posts
    Member since:
    Feb 2011

    Posted 05 Mar 2012 Link to this post

    Hi guys
    Is it any way to stop TAB key moving through the parts of the control (RadCalendar)?
    Thanks in advance. 
  2. Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 09 Mar 2012 Link to this post

    Hi,

    Creating a CalendarButton style and setting IsTabStop to false will do the trick for you. Here is sample code:
        <UserControl.Resources>
            <Style TargetType="calendar:CalendarButton" x:Key="ButtonStyle">
                <Setter Property="IsTabStop" Value="False" />
            </Style>
        </UserControl.Resources>
    ....
     
    <telerik:RadCalendar DayButtonStyle="{StaticResource ButtonStyle}" MonthButtonStyle="{StaticResource ButtonStyle}" YearButtonStyle="{StaticResource ButtonStyle}" DecadeButtonStyle="{StaticResource ButtonStyle}"/>
    .....


    Regards,
    Ivo
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Olena
    Olena avatar
    11 posts
    Member since:
    Feb 2011

    Posted 12 Mar 2012 Link to this post

    Thanks. It works but it looks like its still one tab stop too much .
    Cheers.
  5. Answer
    Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 13 Mar 2012 Link to this post

    Hi Olena,

    To accomplish this you will have to edit entirely the RadCalendar's template. You can find a sample project attached.

    I hope this helps you.

    All the best,
    Ivo
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. Olena
    Olena avatar
    11 posts
    Member since:
    Feb 2011

    Posted 13 Mar 2012 Link to this post

    Many thanks!
    Regards
    Olena
Back to Top
DevCraft banner