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
The issue is reproduced when the Theme service of Windows is stopped and classic windows desktop is used
If you dock several tool windows on the same position so that tabs show up and you double click the close button, all remaining docked windows will be made floating.
To reproduce: - add a dock with ToolWindow and DocumentWindow - set the following properties: ToolWindow1.TabStrip.SizeInfo.SizeMode = Telerik.WinControls.UI.Docking.SplitPanelSizeMode.Absolute ToolWindow1.TabStrip.MaximumSize = New Size(94, 400) ToolWindow1.TabStrip.SizeInfo.AbsoluteSize = New Size(94, 400) ToolWindow1.DefaultFloatingSize = New Size(94, 400) - Run the app, change the ToolWindow DockState to floating from context menu in the ToolWindow caption - re-dock the ToolWindow => its sizi is not 94,400 and its SizeMode and AbsoluteSize properties have different values If you perform the same scenario, but make the ToolWindow floating with drag and drop not with the context menu, everything works fine correctly. WORKAROUND: Private Sub RadDock1_DockStateChanging(sender As Object, e As Telerik.WinControls.UI.Docking.DockStateChangingEventArgs) If e.NewWindow Is ToolWindow1 AndAlso e.NewDockState = Telerik.WinControls.UI.Docking.DockState.Docked Then e.NewWindow.TabStrip.SizeInfo.SizeMode = Telerik.WinControls.UI.Docking.SplitPanelSizeMode.Absolute e.NewWindow.TabStrip.MaximumSize = New Size(94, 400) e.NewWindow.TabStrip.SizeInfo.AbsoluteSize = New Size(94, 400) e.NewWindow.DefaultFloatingSize = New Size(94, 400) End If End Sub
The instance of DockWindow is not disposed when the dock's context menu close option "Close", "Close all but this", "Close All" or when the middle mouse button is used for Close operation.
One possible scenario is adding an application menu button like in RadRibbonBar.
Having a RadDock control put in a simple RadForm, if in execution time we add a ToolWindow control to this RadDock and, in that very moment that the tool window is being painted, we alternate between two or more applications using "Alt+Tab" keys repeteadly and in a fast way, my application crashes generating an "NullReferenceException". The original exception trace is as follows: Tipo="NullReferenceException" Mensaje="Referencia a objeto no establecida como instancia de un objeto. " Source="Telerik.WinControls.RadDock" Trace=" en Telerik.WinControls.UI.Docking.RadDockCommandManager.CanProcessMessage(Message msg) 
 en Telerik.WinControls.UI.Docking.RadDockCommandManager.Telerik.WinControls.IMessageListener.PreviewMessage(Message& msg)
 en Telerik.WinControls.RadMessageFilter.NotifyGetMessageEvent(Message& msg)
 en Telerik.WinControls.RadMessageFilter.GetMessageHookProc(Int32 code, IntPtr wParam, IntPtr lParam)
 en System.Windows.Forms.UnsafeNativeMethods.GetMessageW (MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
 en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop (Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
 en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
 en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
 en System.Windows.Forms.Application.Run(Form mainForm)

The main form inherit from the RadForm.
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.
The text alignment of DocumentTabs does not look good when the tabs are left aligned, the close button is visible and the text is vertically oriented (i.e. it looks horizontal when the tabs are aligned to the left). This would be best addressed if there is mechanism for rotating the Padding value of the Tabs when their alignment is different (left, top, etc.)