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

Invisible ToolWindow after loading

1 Answer 109 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 03 Apr 2013, 12:03 PM

Hello,

when I load a dock layout from xml, one toolwindow is not visible.
If I drag out the ToolTabStrip and redock it or resize the ToolTabStrip, the ToolWindow "ZoomView" will be visible.
Where is the bug?

I used this http://www.telerik.com/help/winforms/dock-loading-and-saving-layouts-tutorial-saving-and-loading-layout-content.html example as startup.

<?xml version="1.0" encoding="utf-8"?>
<RadDock Orientation="Vertical" CausesValidation="False" TabIndex="0" TabStop="False">
  <Controls>
    <Telerik.WinControls.UI.RadSplitContainer IsCleanUpTarget="True" Orientation="Horizontal" SplitterWidth="4" CausesValidation="False" Location="5, 5" Name="" Size="200, 842" TabIndex="1" TabStop="False" Padding="5, 5, 5, 5">
      <SizeInfo SplitterCorrection="0, 0" AutoSizeScale="0, 0" />
      <Controls>
        <Telerik.WinControls.UI.Docking.ToolTabStrip SelectedIndex="0" CanUpdateChildIndex="True" Size="200, 419" Location="0, 0" CausesValidation="False" Name="DockTabStrip1" TabIndex="1" TabStop="False">
          <SizeInfo SplitterCorrection="0, 0" AutoSizeScale="0, 0" />
          <Controls>
            <Telerik.WinControls.UI.Docking.HostWindow PreviousDockState="Docked" Name="ItemsOverview" Size="198, 393" Location="1, 24" Text="Stapelansicht" />
          </Controls>
        </Telerik.WinControls.UI.Docking.ToolTabStrip>
        <Telerik.WinControls.UI.Docking.ToolTabStrip SelectedIndex="0" CanUpdateChildIndex="True" Size="200, 419" Location="0, 423" Name="DockTabStrip2" TabIndex="2" TabStop="False">
          <SizeInfo SplitterCorrection="0, 0" AutoSizeScale="0, 0" />
          <Controls>
            <Telerik.WinControls.UI.Docking.HostWindow PreviousDockState="Docked" Name="ItemInfoView" Size="198, 369" Location="1, 24" Text="Informationen" />
            <Telerik.WinControls.UI.Docking.HostWindow PreviousDockState="Docked" Name="ZoomView" Size="198, 369" Location="1, 24" Text="Zonenansicht" />
          </Controls>
        </Telerik.WinControls.UI.Docking.ToolTabStrip>
      </Controls>
    </Telerik.WinControls.UI.RadSplitContainer>
    <Telerik.WinControls.UI.Docking.DocumentContainer IsMainDocumentContainer="True" Orientation="Vertical" Name="">
      <SizeInfo SplitterCorrection="0, 0" AutoSizeScale="0, 0" SizeMode="Fill" />
      <Controls>
        <Telerik.WinControls.UI.Docking.DocumentTabStrip SelectedIndex="0" CanUpdateChildIndex="True" Size="1706, 842" Location="0, 0" Name="DockTabStrip3" TabIndex="0" TabStop="False">
          <SizeInfo SplitterCorrection="0, 0" AutoSizeScale="0, 0" />
          <Controls>
            <Telerik.WinControls.UI.Docking.HostWindow PreviousDockState="Docked" Name="PageView" Size="1694, 807" Location="6, 29" Text="Seitenansicht" />
          </Controls>
        </Telerik.WinControls.UI.Docking.DocumentTabStrip>
      </Controls>
    </Telerik.WinControls.UI.Docking.DocumentContainer>
  </Controls>
</RadDock>


Best Regards
Marco

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 05 Apr 2013, 11:55 AM
Hello Marco,

I have tested the reported scenario and the RadDock control successfully loads the saved layout. Please review the result in the attached video.

Regards,
Julian Benkov
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Tags
Dock
Asked by
Marco
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or