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--; }
RadDock - implement BackgroundImage property.
To reproduce: Add RadMenu, add item, add radshortcut, dock the form as mdi child
Description: for example if we have two auto-hidden Tool windows (left and right), first click on the right one but don't pin it, then click on the left one (don't pin it also) and you will notice that for a fraction of time its caption displays the text of the previous window. Then you can click the right window again and you'll see the opposite effect. This tiny fraction of time raises to a significant period of time when tool windows are loaded with multiple controls. AutoHideWindowDisplaying event fires before ActiveWindowChanged event (AutoHideTabStrip.ActiveWindow is the other tool window during AutoHideWindowDisplaying). That is why for a fraction of time (during AutoHideWindowDisplaying event) you can see different caption text. To reproduce: - add RadDock - add two auto-hidden Tool windows (left and right) - first click the right one in order to display the hidden tool window -> for a fraction of time its caption is for the other tool window Workaround: private void radDock1_AutoHideWindowDisplaying(object sender, AutoHideWindowDisplayingEventArgs e) { AutoHideTabStrip autoHide = e.NewWindow.DockTabStrip as AutoHideTabStrip; if (autoHide != null) { autoHide.ActiveWindow.Text = e.DockWindow.Text; } } Another possibility to reduce the flicker is to stop the animations: radDock1.AutoHideAnimation = AutoHideAnimateMode.None;
To reproduce: Add a RadDock with toolwindow, add a webBrowser inside(must be IE10) and try to drag it.
IMPROVE. RadDock - add possibility for replacing the page items in the DocumentWindows with custom ones. Resolution: Use the static class RadDockEvents to subscribe to events before InitializeComponent
These are the steps to reproduce the bug: 1. Start dragging a docked window tab (but don't leave the tab bounds for now). 2. While still holding the left mouse button, click the right mouse button to let the context menu appear. 3. Now drag the tab outside the tab bar until the window gets undocked (for example to the blue region above the docked windows). 4. Finish dragging by releasing the left mouse button. 5. Move the mouse cursor over the title bar of another docked window -> the window is undocked without interacting with it and will stick to the cursor until you click the mouse button to release it. Workaround: bool flag = false; public Form1() { InitializeComponent(); ContextMenuService menuService = this.radDock1.GetService<ContextMenuService>(); menuService.ContextMenuDisplaying += menuService_ContextMenuDisplaying; DragDropService service = this.radDock1.GetService<DragDropService>(); service.Starting += service_Starting; } void service_Starting(object sender, StateServiceStartingEventArgs e) { e.Cancel = flag; flag = false; } void menuService_ContextMenuDisplaying(object sender, ContextMenuDisplayingEventArgs e) { flag = true; }
To reproduce, just load an invalid XML file: if (File.Exists("userDockState.xml")) { try { radDock1.LoadFromXml("userDockState.xml"); } catch (XmlException) { radDock1.LoadFromXml("defaultDockState.xml"); } } Workaround: if (File.Exists("userDockState.xml")) { try { radDock1.LoadFromXml("userDockState.xml"); } catch (XmlException) { radDock1.EndTransactionBlock(); radDock1.LoadFromXml("defaultDockState.xml"); } }
Dock windows should keep its icon and image that is set for them in a previous state, no matter their form, tabbed, docked,
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;
1. Create a new project with RadDock and add 5 tool windows. 2. Dock all tool windows to bottom. 3. Reset the order of the tool windows to not be 1-5 4. Set the group to auto-hide 5. Save dashboard layout 6. Load dashboard layout
To reproduce: using System.Windows.Forms; using Telerik.WinControls.UI.Docking; namespace Lab.Dock { public partial class DockMDIForm : MainForm { private RadDock radDock = new RadDock(); public DockMDIForm() {
1. Create a project with RadDock. 2. Add several tool windows. 3. Run the project. 4. Auto hide all tool windows at the bottom. 5. Close the last tool window. 6. Save the layout. 7. Load the layout.
General Information: - works until 2012.2.726.00 Q2 2012 SP1 version of our controls - does not work after 2012.3.1017.00 Q3 2012 version of our controls Steps to reproduce: 1) Add RadDock control 2) Show Next and Previous Buttons of the default DocumentTabStrip: private void Form1_Load(object sender, EventArgs e) { this.radDock1.DockTabStripNeeded += new DockTabStripNeededEventHandler(radDock1_DockTabStripNeeded); tabStrip = this.radDock1.GetDefaultDocumentTabStrip(false); tabStrip.TabStripElement.StripButtons = StripViewButtons.All; DockLayoutPanel dockPanel = tabStrip.RootElement.Children[0].Children[3] as DockLayoutPanel; if(dockPanel != null) { dockPanel.ZIndex = -1; } StripViewItemContainer stripContainer = tabStrip.TabStripElement.Children[0] as StripViewItemContainer; if (stripContainer != null) { stripContainer.Padding = new Padding(stripContainer.Padding.Left, stripContainer.Padding.Top, 0, stripContainer.Padding.Bottom); } } void radDock1_DockTabStripNeeded(object sender, DockTabStripNeededEventArgs e) { if(e.DockType == DockType.Document) { e.Strip = new CustomDocumentTabStrip(); } } Expected Result: Navigate through all document windows by using the Next and Previous Button beside OverflowDropdownButton Actual Result: NullReferenceException unhandled by RadPageViewStripElement
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.
Put a RadTreeView in an AutoHide tool window and assign it with ContextMenuStrip with multiple levels of sub menu items. When you click a last-level menu item, the tool window will hide and the Click event of the item will not fire.
It is caused when you open the solution for the first time, open the FrmUmre in design time, change the active window in RadDock and run the application. The error states: "The control Telerik.WinControls.UI.Docking.DocumentTabStrip has thrown an unhanded exception in the designer and has been disabled"
OS language is zh-TW (Taiwan)
Steps to reproduce: - Create a form with RadDock on it - Use the following code in another form: Using frm As New FormWithDock() frm.ShowDialog() End Using - Close the dialog (FormWithDock) -> exception is thrown WORKAROUND - dispose the dock on form closing: Protected Overrides Sub OnClosing(e As System.ComponentModel.CancelEventArgs) RadDock1.Dispose() MyBase.OnClosing(e) End Sub
Steps to reproduce: 1) Create a parent MDI form - set isMdiContainer property to true 2) Create a child RadForm with some tool windows and document windows 3) Close the main MDI form without closing the child form Expected Result: close all forms Actual Result: Win32 Exception