Invisible ToolWindow after loading

2 posts, 0 answers
  1. Marco
    Marco avatar
    19 posts
    Member since:
    Oct 2011

    Posted 03 Apr 2013 Link to this post

    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
  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 05 Apr 2013 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top