Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Panelbar (obsolete as of Q2 2010) > Using the panel bar as a container for different grids and allowing auto sizing depending on grid contents

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

Feed from this thread
  • William Bicknell avatar

    Posted on Apr 21, 2010 (permalink)

    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

    Reply

  • Martin Vasilev Martin Vasilev admin's avatar

    Posted on Apr 23, 2010 (permalink)

    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Panelbar (obsolete as of Q2 2010) > Using the panel bar as a container for different grids and allowing auto sizing depending on grid contents
Related resources for "Using the panel bar as a container for different grids and allowing auto sizing depending on grid contents"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]