Thank you for writing.
When you are initializing the control this way in the forms constructor it is still not loaded and this is why it is not collapsed. In this case you can either call the LoadElementTree
method before setting the IsExpanded property or just set this property in the form's Load event:
RadCollapsiblePanel pn =
pn.Dock = DockStyle.Left;
pn.ExpandDirection = RadDirection.Right;
sender, EventArgs e)
Also I have noticed that you have posted identical post and we have deleted it in order to avoid such duplicate posts in our forum.
I hope this helps. Should you have any other questions do not hesitate to ask.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.