Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Panelbar (obsolete as of Q2 2010) > RadPanelBar scroll issue

Answered RadPanelBar scroll issue

Feed from this thread
  • Markus avatar

    Posted on Apr 19, 2010 (permalink)

    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

    Reply

  • Markus avatar

    Posted on Apr 21, 2010 (permalink)

    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.

    Reply

  • Answer Boyko Markov Boyko Markov admin's avatar

    Posted on Apr 22, 2010 (permalink)

    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.
    Attached files

    Reply

  • Markus avatar

    Posted on Apr 23, 2010 (permalink)

    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

    Reply

Back to Top

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

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