Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Panels, Labels, GroupBox > Radpanel contains strange blue horizontal lines after scrolling

Not answered Radpanel contains strange blue horizontal lines after scrolling

Feed from this thread
  • Paul R. avatar

    Posted on Mar 15, 2011 (permalink)

    Hi there.  I have a radgridview inside a radpanel (radpanel has autoscroll=true).  Whenever the radgridview expands & is scrolled down upon -  the back part of the panel contains horizontal lines, if I click near them they disappear.  Does anyone know what is causing this?

    Thanks!



     
    Attached files

    Reply

  • Ivan Todorov Ivan Todorov admin's avatar

    Posted on Mar 18, 2011 (permalink)

    Hi Paul R.,

    This is a known issue with the custom GDI painting and AutoScroll controls which is the case with RadControls for WinForms. The blue lines you are seeing are caused by  the RadPanel's border so removing the border can fix the issue:
    radPanel1.PanelElement.PanelBorder.Visibility = ElementVisibility.Collapsed;

    If you do not want to remove the border, you can use the RadScrollablePanel control. Just set the AutoScroll property to true and when any control on it exceeds its bound, the scrollbars will be displayed. In addition to this, you will also get a fully themeable scrollbars.

    I hope this information was useful. If you have any further questions, do not hesitate to ask.

    Kind regards,
    Ivan Todorov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Panels, Labels, GroupBox > Radpanel contains strange blue horizontal lines after scrolling
Related resources for "Radpanel contains strange blue horizontal lines after scrolling"

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