Unplanned
Last Updated: 08 Aug 2022 11:12 by Mark
The problematic tool window has a user control that is docked to fill and it is built entirely with Telerik controls. The dock control, tab strips, windows and even the controls inside the user control are correctly scaled. The issue comes when you start undocking and then docking the tool window. The size of the user control increases with each operation. The controls have anchors and although they have correct scaling they get stretched. This results in messed layout. 

The DocumentTabStrip and ToolTabStrip are created dynamically and when they initialize they call their Scale method. The tool window, the user control, and also all other controls added to it are created only once. When you undock the window a new tab strip is created and the existing controls are added to it. When we load the tab strip we call PerformRadAutoScale which calls the stip's Scale method. Calling Scale propagates to the child controls causing additional scaling to the Microsoft controls. RadControls don't have issues because we have logic to check the scaling of the window and we don't allow double scaling.

As a workaround, we can create custom tab strips and override the ScaleChildren property to return false.

this.radDock1.DockTabStripNeeded += this.RadDock1_DockTabStripNeeded;
private void RadDock1_DockTabStripNeeded(object sender, DockTabStripNeededEventArgs e)
{
    if (e.DockType == DockType.ToolWindow)
    {
        e.Strip = new MyToolTabStrip();
    }
    else
    {
        e.Strip = new MyDocumentTabStrip();
    }
}

public class MyToolTabStrip : ToolTabStrip
{
    protected override bool ScaleChildren => false;
}

public class MyDocumentTabStrip : DocumentTabStrip
{
    protected override bool ScaleChildren => false;
}

Completed
Last Updated: 13 Feb 2015 09:09 by ADMIN
ADMIN
Created by: Nikolay
Comments: 1
Category: Dock
Type: Feature Request
2
A nice addition to the existing RadDock implementation for re-docking floating windows will be the ability to re-dock floating windows to documents if the previous state of the floating window was a document window.
Unplanned
Last Updated: 15 Aug 2017 09:23 by ADMIN
RadDock should support a MDI mode where the child mdi forms are displayed in the old fashioned way.
Completed
Last Updated: 11 Feb 2015 09:36 by ADMIN
ADMIN
Created by: Nikolay
Comments: 0
Category: Dock
Type: Feature Request
2
A user should be able to scroll to a desired item (window) by selecting it from the overflow menu. Currently, the selected item is inserted at the first position and the order of items is changed.
Completed
Last Updated: 15 Jan 2015 17:49 by ADMIN
If we set the AutoHideSize of a ToolWindow to the RadDock size, upon opening the AutoHide window we will notice that there is a gap of about 20px between the edge of RadDock and the AutoHide window.
Completed
Last Updated: 05 Jun 2014 07:08 by ADMIN
ADMIN
Created by: Nikolay
Comments: 0
Category: Dock
Type: Bug Report
2
Let's have a ToolWindow in a RadDock. Float the ToolWindow and then close the FloatingWindow.
Save the layout, close the application and start it again. Load the layout and display the hidden ToolWindow by calling the DisplayWindow method. The ToolWindow will become docked instead of floating.
Completed
Last Updated: 05 Jun 2014 07:08 by ADMIN
ADMIN
Created by: Nikolay
Comments: 0
Category: Dock
Type: Bug Report
2
After a very specific sequence of steps, you may end up with an xml file of the RadDock layout that contains two windows, although there is only one window at the time the xml file is saved. In addition, when a floating window is loaded, it needs a click in order to get a caption string at the titlebar.
Completed
Last Updated: 05 Jun 2014 07:08 by ADMIN
When you have a big UserControl in a DocumentWindow and you scroll down this UC, the UC is prescrolled when you try to set the focus on a control of the UC.
Completed
Last Updated: 05 Jun 2014 07:08 by Jesse Dyck
If you have a ToolWindow in AutoHide mode with a RadDropDownList in it and you choose an item from the list or scroll the items in the list, the ToolWindow will hide itself.
Completed
Last Updated: 02 Feb 2015 10:19 by ADMIN
OnActivated is fired before OnLoad in forms which have RadDock instances. However, OnLoad should be fired before OnActivated.
Completed
Last Updated: 05 Jun 2014 07:08 by ADMIN
ADMIN
Created by: Nikolay
Comments: 0
Category: Dock
Type: Bug Report
2
Let's have a TextBox, ToolTip and a FloatingWindow containing the TextBox. The following code snippet will not show a tooltip for the textbox:
            this.toolTip1.ToolTipTitle = "ToolTip";  
            string strToolTip = "Exemple";  
            this.toolTip1.SetToolTip(textBox1, strToolTip);  
            this.toolTip1.AutoPopDelay = 32767; 
            this.toolTip1.Active = true;
Completed
Last Updated: 11 Feb 2015 10:47 by ADMIN
Steps to reproduce: 
1. Add a RadDock to a form 
2. Add a document window
3. Add a button to the form and upon click add a user control to the document with Dock set to FIll 
4. Run the project and click the button. 
5. You will notice that the user control will not fill the parent container properly.
Completed
Last Updated: 17 Mar 2015 14:48 by ADMIN
ADMIN
Created by: Anton
Comments: 0
Category: Dock
Type: Feature Request
2
RadDock - implement BackgroundImage property.
Completed
Last Updated: 04 Apr 2013 03:23 by ADMIN
RadDock - when loading layout, the control reads the stream from the current position instead from the beginning of it. This lead to exception "Root element is missing".

Steps to reproduce:

Dim strmDock As New MemoryStream

RadDock1.SaveToXml(strmDock)
RadDock1.LoadFromXml(strmDock)


Work around:
stream.Position = 0;
Completed
Last Updated: 30 Jan 2015 12:30 by ADMIN
To reproduce:
- Create a MDI application with a RadDock in the mainform.
- Add docked to the left ToolWindow to the dock.
- On a button click add a child form with a RadDateTimePicker in it.
- Set the picker Dock property to Top.

Workaround: 
- Use the following SizeChanged event handler:
 private void RadForm1_SizeChanged(object sender, EventArgs e)
{
    this.rdMain.Width++;
    this.rdMain.Width--;          
}
Completed
Last Updated: 07 Sep 2012 07:57 by ADMIN
When you place RadDock with AutoHideAnimation set to None, add several auto-hide windows and you switch between them, you will notice a flickering at the moment of the change.
Completed
Last Updated: 23 Apr 2014 12:56 by ADMIN
ADMIN
Created by: Alexander
Comments: 0
Category: Dock
Type: Bug Report
2
The exception occures when the parent form is minimized.
Completed
Last Updated: 23 Apr 2014 12:56 by ADMIN
ADMIN
Created by: Alexander
Comments: 0
Category: Dock
Type: Bug Report
2
The AutoHide popup is not shown in the scenario, demonstrated in the attached to the forum thread project.
Completed
Last Updated: 02 Feb 2015 10:00 by ADMIN
When the DockWindowClosing event is fired, the ActiveWindow has already been changed.
Completed
Last Updated: 23 Apr 2014 12:56 by ADMIN
ADMIN
Created by: Alexander
Comments: 0
Category: Dock
Type: Bug Report
2
The keyboard shortcuts should be executed according to the active RadDock control.