Collapsible panel with owner resizing behaviour

2 posts, 0 answers
  1. Rostislaw
    Rostislaw avatar
    9 posts
    Member since:
    Nov 2015

    Posted 24 Sep 2018 Link to this post

    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

     

  2. Hristo
    Admin
    Hristo avatar
    1504 posts

    Posted 25 Sep 2018 Link to this post

    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.
Back to Top