Radpanel contains strange blue horizontal lines after scrolling

3 posts, 0 answers
  1. Paul R.
    Paul R. avatar
    12 posts
    Member since:
    Apr 2010

    Posted 15 Mar 2011 Link to this post

    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!



     
  2. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 18 Mar 2011 Link to this post

    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!
  3. UI for WinForms is Visual Studio 2017 Ready
  4. jean michel
    jean michel avatar
    36 posts
    Member since:
    Aug 2012

    Posted 31 Jul 2012 Link to this post

    Thanks a lot.

    I was searching for this fix

Back to Top