Docks inside Splitter, resize problem

2 posts, 1 answers
  1. Andy Ho
    Andy Ho avatar
    41 posts
    Member since:
    May 2010

    Posted 06 May 2010 Link to this post


    I created a Splitter (width=100%, but not setting its height as I want it to be dynamic) and added a sliding pane on the right  , then I put 2 docks inside the pane under the left areas.

    I found that the docks can resize automatically based on their content but the size of the splitter remain unchanged, how to deal with this problem?


  2. Answer
    Tsvetie avatar
    1517 posts

    Posted 10 May 2010 Link to this post

    Hello Andy Ho,
    The splitter control does not support the feature you need out of the box. In order to have the splitter as high as its content, you should:
    1. Calculate the height of the content
    2. Set the calculated value as height for the splitter.
    You can use our Initially Resize the RadSplitter according to its content knowledge base article as a starting point.
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top