Using the panel bar as a container for different grids and allowing auto sizing depending on grid contents

Thread is closed for posting
2 posts, 0 answers
  1. James Baddiley
    James Baddiley avatar
    13 posts
    Member since:
    Nov 2005

    Posted 21 Apr 2010 Link to this post


    I am wondering if it is possible to use the panel bar to overcome a problem we are having.

    I have multiple radgrids stacked vertically on a page - currently each grid is held in a fixed height container, but this means we are not utilising screen space - IE depending on the rows in each grid we are not filling a container and leaving wasted blank screen space, or we are overfilling a container and have to use vertical scroll within the container.

    What I want is a scenario, where just the required screen space dictated by the height of the different grids is used (as you would get in a heirarchal single grid, where you can expand and contract the heirarchy, and the screen area used is just that needed by the grid).

    I am wondering if I can achieve this result by putting the different grids as different items within a panel bar control, and if so what is the method I need to use to achieve this.

    Thanks for the help in advance

  2. Martin Vasilev
    Martin Vasilev avatar
    1061 posts

    Posted 23 Apr 2010 Link to this post

    Hello William Bicknell,

    As I said in the other forum topic with very similar requirement, you can manually calculate the desired grid height  and set the content panel size dynamically through a code. If you think RadPanelBar would match to your scenario, you could do the same through ContentPanelSize property, which sets the height. Let me know if you have any additional questions.

    Martin Vasilev
    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