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

Problem docking when using tab key

3 Answers 84 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Liem
Top achievements
Rank 1
Liem asked on 01 Aug 2016, 10:36 AM

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>

3 Answers, 1 is accepted

Sort by
0
Geri
Telerik team
answered on 02 Aug 2016, 10:10 AM
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.
0
Liem
Top achievements
Rank 1
answered on 02 Aug 2016, 10:23 AM

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.

 

0
Geri
Telerik team
answered on 03 Aug 2016, 09:53 AM
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.
Tags
Docking
Asked by
Liem
Top achievements
Rank 1
Answers by
Geri
Telerik team
Liem
Top achievements
Rank 1
Share this question
or