It flickering when the left menu is collapsed or expanded.
I've use custom tablelayoutPanel with doubleBufer
How can fix it?
Thx.
pd. don't know how can i share a example proyect so i put here a link to my onedrive hope it can help you, thx again.
https://1drv.ms/u/s!Aub3FOLN5IO_gudWobcwA4fzVTvXNg?e=dpc3o5
7 Answers, 1 is accepted
Note that most of the forum threads are reviewed by Telerik representatives and sometimes we address the questions asked by our customers in the forums as well. However, a post in the forum doesn't guarantee you a response from the Telerik support team. Moreover, threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread. Thank you for your understanding.
As a gesture of good will, we will address this question for you since it would be useful for the community.
The provided sample project is greatly appreciated. I was able to observe the slow expanding/collapsing. I have noticed that you have TableLayoutPanels. This is a known suspect in such cases. Although you use the double buffering, it is not always enough.
After some research in StackOverflow regarding the MS TableLayoutPanel, I have found out that it seems to be a known suspect of performance problems. Please refer to the following threads which are quite useful on this thread:
https://stackoverflow.com/questions/14931455/tablelayoutpanel-slow-because-of-autosize-and-or-nested-tablelayoutpanels
https://social.msdn.microsoft.com/Forums/vstudio/en-US/0935c96f-6944-47ff-94b3-48f03cb2a784/tablelayoutpanel-slow-redraw?forum=csharpgeneral
https://social.msdn.microsoft.com/Forums/windows/en-US/373b5c93-9646-4a84-8ac4-513d277ec1d6/tablelayoutpanel-flicker-performance?forum=winforms
The possible solution that I would suggest is to disable the animation of RadPageViewNavigationViewElement by setting its AllowAnimation property to false. This will reduce the multiple rendering calls for the TableLayoutPanel with each frame. I have tested it on my end and it seems to improve the performance significantly. Could you please give it a try?
I hope this information helps.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
660/5000
The first thing I want to apologize for the tone of my first post. Without serving as an excuse I would like to explain that I do not speak English well and when I wrote the question I did it in a hurry and without time to consult a translator.
I know that nobody is obliged to help me and when you do I can only express my sincere gratitude.
So thank you very much for your response and again I apologize for my way of expressing myself.
Regarding your answer, I have tried it and it works well. It is a pity that it is not so colorful without the animation, but at least it works and is useful.
Thank you very much for your time Dess. All the support team do a fantastic job.
Hello, Kalai,
The NavigationView supports four modes - Auto, Minimal, Compact, Expanded: https://docs.telerik.com/devtools/winforms/controls/pageview/navigation-view/display-modes
You can specify the NavigationViewDisplayModes.Expanded and handle the Collapsing event in order to prevent the hamburger menu from collapsing and keep it always expanded:
public RadForm1()
{
InitializeComponent();
this.radPageView1.ViewMode = PageViewMode.NavigationView;
RadPageViewNavigationViewElement navigationElement = this.radPageView1.ViewElement as RadPageViewNavigationViewElement;
navigationElement.DisplayMode = NavigationViewDisplayModes.Expanded;
navigationElement.ExpandedPaneWidth = 200;
navigationElement.Expand();
navigationElement.Collapsing+=navigationElement_Collapsing;
}
private void navigationElement_Collapsing(object sender, CancelEventArgs e)
{
//prevent collapsing and keep the hamurger menu always expanded
e.Cancel = true;
}
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hai Dess,
In Telerik report, the page footer section has not accept sub report and table. then how could I show table like data's ?
Please give any suggestion for this ?
Hello, Kalai,
I would like to note that this forum thread is related to RadPageView from the Telerik UI for WinForms suite. However, your question seems to be related to the Telerik Reporting product.
Feel free to post your inquires in the relevant forum and the community would gladly assist you: https://www.telerik.com/forums
Thank you for your understanding. Should you have further questions regarding the WinForms PageView please let me know.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Thank you Dess