RadPanelBar scroll issue

4 posts, 1 answers
  1. Markus
    Markus avatar
    40 posts
    Member since:
    Sep 2008

    Posted 19 Apr 2010 Link to this post

    Hello,

    I have PanelBar with PanelBarGroupElements. On group elements I have RadButtonElements with Images. Now if windows is too small to show all items on group element a scrollbar is shown. But this scrollbar scrolls RadPanelBar and not content panel of PanelBarGroup.
    RadButtonElements where overlayed by minimized group panels. At the bottom of RadPanelBar you can see a part of a cut RadButtonElement

    I tried different Styles and setting AutoScroll of ContentPanel to true. But always the same.

    You  can simulate this beavior by creating  lot of elements on a group element.

    for (int i = 0; i < 50; i++) 
                { 
                    string itemName = "Item " + i.ToString(); 
                    Telerik.WinControls.UI.RadButtonElement radItem = new Telerik.WinControls.UI.RadButtonElement(itemName, null); 
                    radItem.Name = itemName; 
                    radItem.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter; 
                    radItem.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; 
     
                    radPanelBarGroupElement1.Items.Add(radItem); 
                } 
     
                //radPanelBarGroupElement1.ContentPanel.AutoScroll = true; 

    Best regards,

    Markus
  2. Markus
    Markus avatar
    40 posts
    Member since:
    Sep 2008

    Posted 21 Apr 2010 Link to this post

    No idea? I try to explain a bit more.

    Size of RadPanelBarGroupElement.ContentPanel is always the size of RadPanelBar.ContentPanel. RadPanelBarGroupElement.ContentPanel doesn't show a scrollbar, so items may be hidden behind following RadPanelBarGroupElement headers. I think calculation of ContentPanel.Height does not work properly.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Answer
    Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 22 Apr 2010 Link to this post

    Hi Markus,

    Thank you for contacting us.

    You can find attached a project which shows a RadPanelBar with 3 groups, and 50 buttons in a scroll viewer, added in the first group.

    Feel free to write us, if you need more assistance.

    Kind regards,
    Boyko Markov
    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.
  5. Markus
    Markus avatar
    40 posts
    Member since:
    Sep 2008

    Posted 23 Apr 2010 Link to this post

    Thanks for your answer. But your solution works only for RadPanelBar with GroupStyle 'ListBar' or 'OutlookNavPane'
    For me it is ok because I use ListBar


    Regards,
    Markus
Back to Top