This question is locked. New answers and comments are not allowed.
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.
Thanks.
5 Answers, 1 is accepted
0
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:
I hope this information helps.
Sincerely yours,
Ray
the telerik team
Instantly find answers to your questions at the new telerik Support Center
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
0

sidney smith
Top achievements
Rank 1
answered on 31 May 2007, 07:32 PM
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.
0
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
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
0

sidney smith
Top achievements
Rank 1
answered on 02 Jul 2007, 01:56 PM
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..
0
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
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