Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > SplitContainer > resize problem by autoscroll

Answered resize problem by autoscroll

Feed from this thread
  • Bertalan avatar

    Posted on Jul 22, 2011 (permalink)

    Hello,

    I have a problem with the RadSplitContainer. I would like to place more sizable panels in the RadSplitContainer.

    If the AutoScroll of RadSplitContainer is true and I scroll the container a little, don’t work the resizes of the panels.

    How can I resize the panels after scroll?

    Is it a bug in the RadSplitContainer? If yes, is there a workaround to this?

    Below is the sample code

    Thanks


    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
     
            RadSplitContainer radSplitContainer1 = new RadSplitContainer()
            {
                Dock = DockStyle.Fill,
                AutoScroll = true
            };
     
            this.Controls.Add(radSplitContainer1);
     
            for (int i = 0; i < 10; i++)
            {
                var panel = new SplitPanel();
                panel.SizeInfo.SizeMode = SplitPanelSizeMode.Absolute;
                panel.SizeInfo.AbsoluteSize = new Size(100, 0);
                radSplitContainer1.SplitPanels.Add(panel);
            }
        }
    }

    Reply

  • Answer Julian Benkov Julian Benkov admin's avatar

    Posted on Jul 27, 2011 (permalink)

    Hello Bertalan,

    There is an issue with the splitter calculation after a scroll operation in RadSplitContainer is performed. I logged the issue in our Public Issue Tracking System. This issue will be addressed in one of our next releases.

    Thank you for the report and for the code snippet. Your Telerik points have been updated.

    Kind regards,
    Julian Benkov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > SplitContainer > resize problem by autoscroll
Related resources for "resize problem by autoscroll"

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