This is a migrated thread and some comments may be shown as answers.

Collapsible panel with owner resizing behaviour

1 Answer 513 Views
CollapsiblePanel
This is a migrated thread and some comments may be shown as answers.
Rostislaw
Top achievements
Rank 1
Rostislaw asked on 24 Sep 2018, 03:21 PM

Hi all,

a simple question about collapsible panel: how is it possible to have a collapsible panel inside a form which is by expand leads to the form resizing and by collapsing will restore the original size?
This should be like a "classic" "Advanced information" UI element - like copy operation in explored in W10 "More / Less details".

 

Thanks in advance

Rostislaw

 

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 25 Sep 2018, 08:35 AM
Hello Rostislaw,

Thank you for writing.

The RadCollapsiblePanel is a standalone control and it will not change the locations of other controls close to it, nor it will resize the form. A possible solution is to handle the Expanded and Collapsed events of the controls and manually to increase or decrease the size of the form. In such a scenario you might also consider anchoring and docking the neighboring controls so that you can achieve an auto-sizing layout.

I hope this will help. Let me know if you need further assistance.

Regards,
Hristo
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.
Tags
CollapsiblePanel
Asked by
Rostislaw
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or