Community & Support
Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Panelbar (obsolete as of Q2 2010) > Setting ControlPanel height

Not answered Setting ControlPanel height

Feed from this thread
  • Sean avatar

    Posted on Aug 10, 2009 (permalink)

    I am dynamically adding RadPanelBarGroupElements to a RadPanelBar that is set to the Explorer style. Each RadPanelBarGroupElement's control panel contains a large usercontrol that is approx 700px in height. The first few added are displayed with scrollbars in the content panel when expanded which is fine. However as more RadPanelBarGroupElements are added, the bottom ones have a very tiny display space, while the RadPanelBarGroupElements at the top when expanded still display a relatively large viewing area.
    Is there a way for me to specify the minimum space that must be displayed?
           
            private void LoadApprovalIssue(ApprovalBe.ApprovalIssueRow issue) 
            { 
                ApprovalIssueControl issueControl = new ApprovalIssueControl(ref this.myActivity, approvalTypeCode, ref this.myApproval, issue.IssueNo); 
               

                RadPanelBarGroupElement issueTab = new RadPanelBarGroupElement(); 
                issueTab.Caption = "TEST";  
                issueTab.EnableHostControlMode = true
                issueTab.ContentPanel.Controls.Add(issueControl); 
                issueTab.ContentPanel.AutoScroll = true

                this.pnlbarIssues.Items.Insert(0,issueTab); 
     
            } 


    Reply

  • Nikolay Nikolay admin's avatar

    Posted on Aug 13, 2009 (permalink)

    Hi Sean,

    Currently, the content area of a group cannot be resized. This feature is already logged as a feature request, but we cannot provide you with a specific time-frame when it will be implemented.

    If you have additional questions, feel free to contact me.

    Greetings,
    Nikolay
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

    Reply

  • Q1 Webinar Week
  • Jay Jose avatar

    Posted on Sep 10, 2009 (permalink)

    Hi Nikolay,

    Do you have solution for this now? I need to set the height of the ContentPanel dynamically and it should be more than 3000 pixels.

    Regards,
    Jay

    Reply

  • Boyko Markov Boyko Markov admin's avatar

    Posted on Sep 11, 2009 (permalink)

    Hi Jay Jose,

    Unfortunately, we do not have a solution to dynamically set the content panel height in RadPanelBar when it is in expolorer bar or vs2005 style modes. I suggest you use ListBar style for such scenarios because the content panel height is taking the maximum available height.

    Let me explain to you using an example how the content panel height is calculated when the panelbar is in ListBar style:

    Let's say that our PanelBar height is 200px. We add 5 RadPanelBarGroupElements to the panel bar Items collection. RadPanelBarGroupElement caption height is 20px. If we have 5 groups, the calculation is 5x20 = 100px. There are 100px more left for the content panel. This means that the content panel height depends on the panelbar height when it is in ListBar style mode.

    I hope this helps. Please write me back if you have more questions.

    Sincerely yours,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Panelbar (obsolete as of Q2 2010) > Setting ControlPanel height
Related resources for "Setting ControlPanel height"

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