To reproduce: Add a RadSplitContainer with several SplitPanels and use the following code: this.radSplitContainer1.EnableCollapsing = true; this.radSplitContainer1.UseSplitterButtons = true; If you run the project, you will notice that the next/previous buttons are displayed for manipulating the SplitPanel's collapsed/expanded state. If you click one of the next/previous buttons, the relevant SplitPanel will be collapsed and the splitter will remain visible. Thus, the user has the possibility to return the previous state of the SplitPanel. However, if you try to collapse the SplitPanel programmatically by setting the Collapsed property to true, the corresponding splitter will disapper.
Use attached to reproduce. Move the splitter with the mouse and you will notice that is position is not correct when the mouse is released
When you cut-copy RadSplitContainer containing two SplitPanels from one form to another, only the RadSplitContainer is pasted, but the SplitPanels are missing.
The Modifiers property should be visible in the properties window when a SplitPanel instance is selected. Workaround: Manually change the modifier in the Designer.cs file to protected.
SplitPanel - there is no property Name in Visual Studio designer.
If the AutoScroll of RadSplitContainer is true and I scroll the container a little, don’t work the resizes of the panels. sample code: public Form1() { InitializeComponent(); RadSplitContainer radSplitContainer1 = new RadSplitContainer() { Dock = DockStyle.Fill, AutoScroll = true }; this.Controls.Add(radSplitContainer1); for (int i = 0; i < 10; i++) { var panel = new SplitPanel(); panel.SizeInfo.SizeMode = SplitPanelSizeMode.Absolute; panel.SizeInfo.AbsoluteSize = new Size(100, 0); radSplitContainer1.SplitPanels.Add(panel); } }
To reproduce: - Use relative sizing and save the RelativeRatio. - Set the same value after restarting the application. - The panel size is not the same. Workaround: Use absolute size.
In this particular case, the main monitor has 125% DPI. When showing a RadForm which contains RadSplitContainer with 2 panels, the control is not scaled correctly.
Expected:
Current behavior:
Workaround:
Set the RadControl.EnableRadAutoScale property to false.
When you drop a RadSplitContainer in a RadDock ToolWindow, RadSplitContainer loses important options from its SmartTag's ActionMenu. Similar behavior is obtained when you drag a RadSplitContainer from the ToolBox and drop it onto an empty RadDock.
Let's have a RadSplitContainer on a form. This RadSplitContainer should contain two SplitPanels and one splitter. Change the color of the splitter using the Edit UI Elements dialog. Run the project and you will get IndexOutOfRangeException. However, if you cut and paste the designer code in the form_load, it will work correctly.
To reproduce: - Add button to a split panel - Set button Text property to "Button &X" - Add a event handler for the button - Start the application and press the "x" key To work around this issue instead of using mnemonics you can set shortcuts like this: radButton.ButtonElement.Shortcuts.Add(new RadShortcut(Keys.Alt, Keys.X)); Also you can set mnemonic like underline like this: radButton.Text = "<html>Button <u>X";
In design time when trying to copy-paste a RadSplitContainer, which contains a couple panels, it throws exception. Steps to reproduce: Add a RadSplitContainer to a form or user control. Add a couple of panels to the container using the designer. Press Ctrl+A to select all the controls on the form or user control. Press Ctrl+C to copy them to the clipboard. Create a new form or user control (this step isn't strictly necessary, but helps explain the issue). Paste the controls on the clipboard into the new form or user control using Ctrl+V
Applying Settings to the RadSplitContainer >> SplitContainerElement >> SplitterFill element affect only the first Splitter instance in the RadSplitContainer.
I have three split panels and when the auto scroll is enabled some lines appear in the split panel. The issue can be reproduced with RadPanel as well. Workaround: http://www.telerik.com/forums/problem-with-auto-scroll#ygV1vwyA40KZ4KoD28AhvQ
To reproduce: -add RadSplitContainer (horizontal) and add one left and one right split panel -add two RadButtons to collapse and show one of the panels private void radButton1_Click(object sender, EventArgs e) { this.splitPanel1.Collapsed = true; } private void radButton2_Click(object sender, EventArgs e) { this.splitPanel1.Visible = true; } -click the first button to collapse the left panel; as a result the second panel fills the entire container size -click the second button to show again the left panel; as a result the panels overlap each other
Sometimes there are 3 or more dots on a splitter, but when changing the orientation then there is only one dot. sometimes there are lines, but when switching to disabled these lines are much bigger. But only in one orientation.
To reproduce: - Set the splitter size to 40. - Drag the splitter without releasing the mouse. - The mouse pointer is in the beginning of the splitter, but it should be in its center.
Please refer to the attached sample project. Double click the middle splitter in the horizontal split container. Workaround: manually collapse the desired split panel: private void Form1_Load(object sender, EventArgs e) { this.radSplitContainer3.PanelCollapsing += radSplitContainer3_PanelCollapsing; foreach (SplitterElement s in this.radSplitContainer3.Splitters) { s.DoubleClick += s_DoubleClick; } } private void s_DoubleClick(object sender, EventArgs e) { SplitterElement s = sender as SplitterElement; ((SplitPanel)s.RightNode).Collapsed = true; }
Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.MouseEventArgs'. Workaround: use the SpliPanel.Collapsed property to control whether the split panel is expanded or collapsed.