flickering when expanding or collapsing on navigationView

3 posts, 1 answers
  1. Jose
    Jose avatar
    8 posts
    Member since:
    Jun 2019

    Posted 09 Aug 2019 Link to this post

     

    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

  2. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3835 posts

    Posted 12 Aug 2019 Link to this post

    Hello, Jose,    

    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
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Jose
    Jose avatar
    8 posts
    Member since:
    Jun 2019

    Posted 13 Aug 2019 Link to this post


    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.
Back to Top