Flicker & Slow loading inside ContentPanel

6 posts, 0 answers
  1. Bryan Brannon
    Bryan Brannon avatar
    65 posts
    Member since:
    Aug 2012

    Posted 15 Dec 2006 Link to this post

    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?
  2. Chris
    Admin
    Chris avatar
    221 posts

    Posted 18 Dec 2006 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Bryan Brannon
    Bryan Brannon avatar
    65 posts
    Member since:
    Aug 2012

    Posted 20 Dec 2006 Link to this post

    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.
  5. Chris
    Admin
    Chris avatar
    221 posts

    Posted 20 Dec 2006 Link to this post

    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
  6. Henrik Næss
    Henrik Næss avatar
    1 posts
    Member since:
    Oct 2007

    Posted 06 Nov 2007 Link to this post

    Will this be fixed in new realeses of RadControls for WinForms, so it will be possible to used transparent as background?
  7. Mike
    Admin
    Mike avatar
    640 posts

    Posted 07 Nov 2007 Link to this post

    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready