This is a migrated thread and some comments may be shown as answers.

Radpanel contains strange blue horizontal lines after scrolling

2 Answers 185 Views
Panel
This is a migrated thread and some comments may be shown as answers.
Paul R.
Top achievements
Rank 1
Paul R. asked on 15 Mar 2011, 02:37 PM
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 Answers, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 18 Mar 2011, 12:17 PM
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!
0
jean michel
Top achievements
Rank 1
answered on 31 Jul 2012, 01:44 PM

Thanks a lot.

I was searching for this fix

Tags
Panel
Asked by
Paul R.
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
jean michel
Top achievements
Rank 1
Share this question
or