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

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

1 Answer 52 Views
Panelbar (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
James Baddiley
Top achievements
Rank 1
James Baddiley asked on 21 Apr 2010, 07:55 AM
Hi,

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

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 23 Apr 2010, 05:52 PM
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.

Regards,
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.
Tags
Panelbar (obsolete as of Q2 2010)
Asked by
James Baddiley
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or