Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
880
Stop the Ribbon from re-painting itself until all updates are finished
posted

Is there a way to update the Ribbon and not re-paint it until the update is complete?

 

In a working world I could call BeginUpdate(), put all my code to update set ribbon properties, select tabs, images, and tools then call EndUpdate() when I am ready for the user to see the updated ribbon.

 

Here is my topic on the bug for that (http://forums.infragistics.com/forums/p/31646/173423.aspx).  I take the silence to mean I am out of luck and I have a deadline next week.  Almost all of our outstanding defects are Infragistics related.  At this point of the game we have to start compromising on things that do not work and replacing controls.  In this case I really want to find a solution because the ribbon jumping around looks awful and we can not just remove the ribbon since we have build our whole application around it.

 

I have tried bypassing base.OnPaint() for the entire form while updating the ribbon and I have also tried this.SuspentLayout() on the form while updating the ribbon, but nothing works.  It is like the Ribbon magically has its own UI thread.  I have never seen anything like it.  It’s like a weed you can’t kill.

 

There has to be some way to update the ribbon without the ribbon jumping around until you are finished with the updates so the user does not see you manually making ribbon changes and updates?

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello Anomoly,

    I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.

Children