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

Flicker & Slow loading inside ContentPanel

5 Answers 414 Views
Tabstrip (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bryan Brannon
Top achievements
Rank 2
Bryan Brannon asked on 15 Dec 2006, 09:12 PM
I have a RadTabStrip1 inside a form and within each of the ContentPanel (tabs) i have multiple controls... picture boxes, labels, buttons, textboxes.  When I load up the panel or change tabs in the UI, there is significant screen flicker and slow loading.  When i put all the controls in their own panel or into the standard VS TabStrip, painting works well when loading and switch b/w the tabs.

Anything that I can do in order to minimize or eliminate this?  When I run on a smaller machine (graphics card) everything is much slower.

Any ideas?

5 Answers, 1 is accepted

Sort by
0
Chris
Telerik team
answered on 18 Dec 2006, 01:45 PM
Hello Bryan,
Could you please send us the form in which you have placed r.a.d.tabstrip? We tried to reproduce this behavior locally but we couldn't. I suspect the flickering could be caused by some of the controls which you have placed in some of the ContentPanels but I can't be sure until I take a look at the form.
Thanks in advance for your help.

Greetings,
Chris
the telerik team
0
Bryan Brannon
Top achievements
Rank 2
answered on 20 Dec 2006, 04:06 PM
The easiest way i can find to recreate the problem is to create a new form, create a RadTabStrip1, add a couple of tabs, enable ContentPanels, and in each of the tab content panels, put several PictureBoxes (i have about 28) that contains a small icons and when i swtich b/w them i can see slow painting.

If i put the same set of pictureboxes (same icons) in a regular tab control, it loads much quicker.

Can i set something that will not cause the UI flicker when switching?  This is significantly more flicker on a machine with a smaller video card.
0
Chris
Telerik team
answered on 20 Dec 2006, 04:21 PM
Hello Bryan,
Thanks for helping us reproduce this behavior. The problem with the flickering is caused by the ContentPanel having a transparent background. The actual problem is caused by the WinForms controls (groups, buttons, textboxes and as in your case - pictureboxes) which you have placed in the ContentPanels and which don't have double buffering by default. That's why when placed in a transparent control there's a flickering when these controls are displayed.
Anyway you can fix this by setting some color of the TabItems' ContentPanels other than Transparent.

Sincerely yours,
Chris
the telerik team
0
Henrik Næss
Top achievements
Rank 1
answered on 06 Nov 2007, 01:41 PM
Will this be fixed in new realeses of RadControls for WinForms, so it will be possible to used transparent as background?
0
Mike
Telerik team
answered on 07 Nov 2007, 08:43 AM
Hi Henrik Næss,

As we described about a year ago, the major problem comes not from any of the telerik controls, but from other /toolbox/ controls that are added in the RadTabStrip content panel. Unfortunatelly, there is no straight forward solution to this problem.

You can take a look at the famous windows forms FAQ that describes a possible solution to this problem here: 
http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c73c.aspx#q1039q

This solution should work not only for the Panel but for the GroupBox control for example.
As to our future release, we do plan developing "Rad" versions of  most of the toolbox controls, so placing RadControls inside TabStrip Content panel or RibbonBar should not cause any flicker.

Thank you for writing. Contact us again if you have additional questions.

Sincerely yours,
Mike
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Tabstrip (obsolete as of Q2 2010)
Asked by
Bryan Brannon
Top achievements
Rank 2
Answers by
Chris
Telerik team
Bryan Brannon
Top achievements
Rank 2
Henrik Næss
Top achievements
Rank 1
Mike
Telerik team
Share this question
or