Making a split panel a spliter

3 posts, 1 answers
  1. Adiel
    Adiel avatar
    10 posts
    Member since:
    Dec 2009

    Posted 02 Sep 2012 Link to this post


    I would like to have three split panels in a split container, where I will be able to move the middle split panel as if it was a spliter , i.e. the middle split panel has a fixed size and moving it up or down, changes the size of the top and bottom split panels. The reason that I want to work this way, is that I want to added controllers to the middle split container ,such as drop down combo box.
    How can this be done?

  2. Answer
    Nikolay avatar
    1805 posts

    Posted 05 Sep 2012 Link to this post

    Hello Meir,

    Thank you for the question.

    RadSplitContainer does not support the desired behavior and layout out of the box. However, you can achieve your goal with the help of two RadSplitContainers, MouseDown and MouseUp of the panel that should keep its size constant and some calculations. I am attaching a sample project which demonstates the approach. Feel free to modify it according to your specific needs.

    I hope this helps.

    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. Adiel
    Adiel avatar
    10 posts
    Member since:
    Dec 2009

    Posted 14 Jan 2013 Link to this post

    Yes, it did help. Thank you very much.
Back to Top