Unplanned
Last Updated: 19 Mar 2019 12:55 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 23 Mar 2015 12:49
Category: SplitContainer
Type: Bug Report
5
FIX. RadSplitContainer - splitters are removed when setting the SplitPanel.Collapsed property to true
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.
2 comments
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 19 Mar 2019 12:55
Hello, Ron,

Actually, we have introduced a convenient API for accessing the splitter elements. Each of the splitters can be moved to a position so that it collapses one of its associated panel. The responsible MoveSplitter method receives a splitter element instance and a RadDirection flag as parameters. The splitter`s position can be restored to its previous location with the RestoreSplitterPosition method.

In order words, instead of manipulating the SplitPanel.Collapsed property, I would recommend you to use the MoveSplitter method that RadSplitContainer offers now: https://docs.telerik.com/devtools/winforms/controls/splitcontainer/splitter-buttons

As to the issue, I can't give you an exact time frame when a fix will be introduced. Make sure that you cast you for it in order to increase its priority. You can track its progress and subscribe for status changes. Thus, you will be notified if any changes occur. 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 
 
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Ron
Posted on: 15 Mar 2019 18:59
Sadly, this still exists today in 2019.