Completed
Last Updated: 18 Oct 2021 15:43 by ADMIN
Release R3 2021 SP1
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.
  
Unplanned
Last Updated: 11 Oct 2021 10:16 by Jean-Pierre
  • Create a Radform1 with RadSplitContainers (Orientation H or V)
  • In the designer, click on the Split (or try to move it does'nt work according this feedback RadSplitContainer: problem in resizing split panels in design time in Net5)
  • This property is added to the RadForm1.Designer.cs

            this.radSplitContainer2.Cursor = System.Windows.Forms.Cursors.SizeNS;

  • Deleting this property and working with the designer add again the property.

A project to reproduce is attached

Thanks

Unplanned
Last Updated: 06 Oct 2021 13:39 by ADMIN

Dear Sir/Madam

Unfortunately, the SplitContainer in the .NET version 5 has problems, as you can see in the picture, I can not change the size in design time.

Is there a newer version that fixes this problem?

Telerik Winform Version :2020.3.1020

Visual Studio Version : 16.8.3

Best Regards

 

 

Completed
Last Updated: 07 Oct 2020 15:39 by ADMIN
Release R3 2020 SP1

Backgroud

The behavior of split button makes me confused when I use split button collapsing the split panel. It locates in different position when I restore the split button by double-click. What's weirder is that double-click will make no effect when the split button located on the edge. I don't like these default behaviours.

Question

1. Do you know how to overwrite the default behaviour of split button?

2. Is there a virtual method or some event I can reimplement?

3. I want to collapse the right panel to the right side, and restore it to the initial location, and just these to behaviours. How can I do it?

Thanks!

Completed
Last Updated: 28 May 2019 15:59 by ADMIN
Release R2 2019 SP1 (LIB 2019.2.603)
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
Unplanned
Last Updated: 16 May 2019 05:07 by ADMIN
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. 
Completed
Last Updated: 02 May 2019 16:28 by ADMIN
Release R2 2019
When you try to move the splitter on 125% DPI and release the mouse, the splitter is placed to another place.
Unplanned
Last Updated: 19 Mar 2019 12:55 by ADMIN
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.
Completed
Last Updated: 01 Nov 2017 13:06 by ADMIN
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;
}
Completed
Last Updated: 27 Oct 2017 10:02 by ADMIN
How to reproduce:  check the attached video

Workaround: Only split panels can be added to RadSplitContainer,  so add a panel first to the control before using the document outline
Completed
Last Updated: 15 Aug 2017 11:03 by ADMIN
The mouse cursor should not also change to split.

How to reproduce: set certain splitter elements to be fixed, then you would notice that they have the resizing image visible and the cursor changes to split if you hover them

Workaround: manually hide the layout element and use a custom control overriding its Cursor property
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();

        new RadControlSpyForm().Show();

        this.radSplitContainer1.EnableCollapsing = true;
        this.radSplitContainer1.UseSplitterButtons = true;
    }

    protected override void OnShown(EventArgs e)
    {
        base.OnShown(e);

        foreach (SplitterElement splitter in this.radSplitContainer1.Splitters)
        {
            splitter.Fixed = true;
            splitter.Layout.Visibility = ElementVisibility.Collapsed;
        }
    }

    private void button1_Click(object sender, EventArgs e)
    {
        foreach (SplitterElement splitter in this.radSplitContainer1.Splitters)
        {
            splitter.Fixed = !splitter.Fixed;
            splitter.Layout.Visibility = !splitter.Fixed ? ElementVisibility.Visible : ElementVisibility.Collapsed;
        }
    }
}

public class MyRadSplitContainer : RadSplitContainer
{
    public override string ThemeClassName
    {
        get
        {
            return typeof(RadSplitContainer).FullName;
        }
    }

    public override Cursor Cursor
    {
        get
        {
            return base.Cursor;
        }
        set
        {
            SplitterElement splitter = this.GetSplitterElementAtPoint(this.PointToClient(Cursor.Position));
            if (!(splitter != null && splitter.Fixed))
            {
                base.Cursor = value;
            }
        }
    }
}
Unplanned
Last Updated: 19 Jun 2017 11:00 by ADMIN
To reproduce: add a RadSplitContainer with 3 identical SplitPanels. The left panel needs to be initially collapsed. That is why we use the introduced public API (MoveSplitter method). When the form is shown and you try to expand the left (yellow) panel, you will notice that the splitter is not restored to the correct position. Please refer to the attached gif file.

This must be handled for Vertical and Horizontal orientation!!!

Workaround:

Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    AddHandler Me.RadSplitContainer1.MouseDown, AddressOf SplitContainerMouseDown
End Sub
Private Sub SplitContainerMouseDown(sender As Object, e As MouseEventArgs)
    Dim clickedElement = Me.RadSplitContainer1.ElementTree.GetElementAtPoint(e.Location)
    If TypeOf clickedElement Is SplitterElement Or TypeOf (clickedElement.Parent) Is SplitterElementLayout Then
        RadSplitContainer1.RestoreSplitterPosition(Me.RadSplitContainer1.Splitters(0))
        RemoveHandler Me.RadSplitContainer1.MouseDown, AddressOf SplitContainerMouseDown
    End If
End Sub
Completed
Last Updated: 07 Feb 2017 06:48 by ADMIN
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.
Completed
Last Updated: 05 Jul 2016 11:18 by ADMIN
To reproduce:
splitPanel1.SizeInfo.SizeMode = Telerik.WinControls.UI.Docking.SplitPanelSizeMode.Absolute;
splitPanel1.SizeInfo.AbsoluteSize = new Size(300, this.radSplitContainer1.Height);
splitPanel1.SizeInfo.MinimumSize = new Size(80, 0);

radSplitContainer1.UseSplitterButtons = true;
radSplitContainer1.EnableCollapsing = true;

- Start the application and collapse the panel with the button.
- The panel is collapsed, but cannot be expanded to its previous position.

Completed
Last Updated: 28 Jun 2016 10:23 by ADMIN
When you cut-copy RadSplitContainer containing two SplitPanels from one form to another, only the RadSplitContainer is pasted, but the SplitPanels are missing.
Unplanned
Last Updated: 30 Mar 2016 13:12 by ADMIN
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


Unplanned
Last Updated: 30 Mar 2016 13:12 by ADMIN
ADMIN
Created by: Julian Benkov
Comments: 0
Category: SplitContainer
Type: Bug Report
2
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);
        }
    }
Unplanned
Last Updated: 30 Mar 2016 13:11 by ADMIN
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";

Unplanned
Last Updated: 30 Mar 2016 13:11 by ADMIN
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
1 2