RadPanelBar constant Flickering

6 posts, 0 answers
  1. Marcus
    Marcus avatar
    3 posts
    Member since:
    Feb 2007

    Posted 28 Mar 2007 Link to this post

    I am trying to create radPanelBarGroupElement dynamically and add it to aRadPanelBar.  Before I add the group element to the panel bar, I am adding a custom control to the element.  I am using a button to trigger the creation of additional group elements with a custom controls on them.  The problem is that a tremendous amount of flickering occurs when I try to accomplish this task.  What should I be doing to prevent this flickering from happening?  Or what am I doing wrong?  And what should I do to fix it?

    Thanks.
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 29 Mar 2007 Link to this post

    Hi Marcus,

    Could you please give me some additional information about the RadPanelBar in your application  or send me a sample project if  it is convinient. I've just created a sample application using RadPanelBar in the default ListBar style doing the following:

    1) Create a new instance of RadPanelBar
    2) Create a  button and handle it's click event
    In button's click event handler I've written the following code:

    this.radPanelBar1.SuspendLayout(); 
    this.radPanelBar1.SuspendUpdate(); 
     
    RadPanelBarGroupElement group = new RadPanelBarGroupElement(); 
    group.EnableHostControlMode = true
     
    RadButton but = new RadButton(); 
    but.Text = "My Button"
    but.Size = new Size(100, 100); 
     
    group.ContentPanel.Controls.Add(but); 
     
    this.radPanelBar1.Items.Add(group); 
     
                 
    this.radPanelBar1.ResumeUpdate(); 
    this.radPanelBar1.ResumeLayout(true); 

    I hope this information helps.

    Sincerely yours,
    Ray
    the telerik team

    Instantly find answers to your questions at the new telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. sidney smith
    sidney smith avatar
    22 posts
    Member since:
    Dec 2006

    Posted 31 May 2007 Link to this post

    Same problem here I have some simple panels inside the panelbar, when I change to a differet bar, flicker hell.  PS I expand the panelbar fullscreen on some, half on others, but the flickering makes it look like a crappy web application.
  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 01 Jun 2007 Link to this post

    Hi sidney,

    I ma not sure whether your port is relevant for this Forum, as we are discussing RadPanelBar for WinForms here. Still, if your problem relates to the WinForms counterpart of RadPanelBar for ASP.NET, please send us a sample project replicating the faulty behavior and give us some specs on your hardware. You can send us the application in a new support ticket.

    In case you have problems with the ASP.NET control, please start a new ticket or Forum post and provide more information on your exact browser and its settings. It seems to me that you have disabled browser caching which can lead to such problems.


    Sincerely yours,
    Ray
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. sidney smith
    sidney smith avatar
    22 posts
    Member since:
    Dec 2006

    Posted 02 Jul 2007 Link to this post

    Sorry should not have thrown the "crappy web application" comment in tehre, that was rude.  My apologies, however I was talkking about the Winforms version, NOT the web one, I was just trying to communicate it LOOKED like a poorly done web application, as it was slow and flickered like mad.  I'm sure it will all come out in the end, I have seen similar problems making my own controls, if your using C#, make sure your double duffred, and sometme I suspend display until everything is in place..

  7. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 03 Jul 2007 Link to this post

    Hi sidney,

    Thank you for your feedback.

    There are still some issues related to RadPanelBar and we are working on improving its UI for the upcoming major release of RadControls for WinForms. However, we will appreciate it if you send us a sample project replicating the faulty behavior and give us some specs on your hardware. We would like to research what is causing the problems on your side, so that we can fix them asap. You can send us the application in a new support ticket.

    Thank you in advance.
     

    All the best,
    Ray
    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