Problem docking when using tab key

4 posts, 0 answers
  1. Liem
    Liem avatar
    4 posts
    Member since:
    Oct 2015

    Posted 01 Aug Link to this post

    I have a problem when using the tab key.

    When I run the code below and press the tab key repeatedly displays error messages:

    "Object reference not set to an instance of an object."

    Step run => tab tab tab => exception

    <Window x:Class="DockingException.MainWindow"
            xmlns:local="clr-namespace:DockingException"
            xmlns:telerikDocking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"
            mc:Ignorable="d"
            Title="MainWindow" Height="350" Width="525">
        <Grid>
            <telerikDocking:RadDocking  RetainPaneSizeMode="DockingAndFloating" >
                <telerikDocking:RadDocking.CompassStyle>
                    <Style TargetType="telerik:Compass">
                        <Setter Property="IsCenterIndicatorVisible" Value="false" />
                        <Setter Property="IsLeftIndicatorVisible" Value="false" />
                        <Setter Property="IsRightIndicatorVisible" Value="false" />
                        <Setter Property="IsTopIndicatorVisible" Value="false" />
                        <Setter Property="IsBottomIndicatorVisible" Value="False" />
                    </Style>
                </telerikDocking:RadDocking.CompassStyle>
                <telerik:RadDocking.RootCompassStyle>
                    <Style TargetType="telerik:RootCompass">
                        <Setter Property="IsTopIndicatorVisible" Value="false" />
                        <Setter Property="IsLeftIndicatorVisible" Value="false" />
                        <Setter Property="IsRightIndicatorVisible" Value="false" />
                        <Setter Property="IsBottomIndicatorVisible" Value="True" />
                    </Style>
                </telerik:RadDocking.RootCompassStyle>
                <!--MainContent-->
                <telerik:RadDocking.DocumentHost>
                    <Grid >
                    </Grid>
                </telerik:RadDocking.DocumentHost>
                <!--/MainContent-->
                <telerik:RadSplitContainer InitialPosition="DockedBottom" Height="500" >
                    <telerik:RadPaneGroup>
                        <telerik:RadPane IsHidden="True" IsPinned="True" CanUserPin="False" PaneHeaderVisibility="Collapsed" CanUserClose="False">
                           
                        </telerik:RadPane>
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
            </telerikDocking:RadDocking>
        </Grid>
    </Window>

  2. Geri
    Admin
    Geri avatar
    60 posts

    Posted 02 Aug Link to this post

    Hi Liem,

    Thank you for the detailed information.
    I tried to reproduce the behavior you describe, but with no luck - please see the attached video.

    When testing your code, the 2016.2.613 version of our controls was used, could you please specify what is the version of our assemblies in the application where the error appears?
    In case it's an older version, it would be helpful if you could try to reproduce the error with the latest version and let us know the result.

    Looking forward to your reply.

    Regards,
    Geri
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Liem
    Liem avatar
    4 posts
    Member since:
    Oct 2015

    Posted 02 Aug Link to this post

    Thank Geri!

    That error only occurs in the version UI for WPF Q1 2016 SP1. (February 18, 2016)

    I'm change latest version (UI for WPF Q2 2016), error fixed.

     

  5. Geri
    Admin
    Geri avatar
    60 posts

    Posted 03 Aug Link to this post

    Hi Liem,

    I'm glad to hear that the error doesn't occur with the latest version.
    Should you have any other questions or concerns regarding our controls, please don't hesitate to contact us. 

    Regards,
    Geri
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top