I have an application using RibbonControlAdv with multiple tabs on ribbon.
When I switch to tab, items on ribbon are changed. If tab has many items associated with it, redrawing will take a long time with intermediate states in between shown. I would like to suspend redrawing of ribbon for the time, however only related event I see is SelectedTabItemChanged, and that is after some of the redrawing was done, so it does not fix the issue.
ONOlety Nikhilesh Olety Nagendra Syncfusion Team July 24, 2019 06:35 AM
Thank you for contacting Syncfusion support.
We are still working on your requirement for “RibbonControlAdv with multiple tabs on ribbon” . We will analyze it properly and will provide you further details on July 26, 2019.
We appreciate your patience until then.
RPRafal PawlowskiJuly 29, 2019 06:23 AM
Since July 26 has passed, can I get an update on this issue?
SPSubburaj Pandian Veluchamy Syncfusion Team July 30, 2019 03:01 AM
We regret for the inconvenience caused.
Based on the provided information, we understood that when switching tabs, the redrawing will take long time with intermediate states in between are shown. So, we made a workaround to lock the window update when drawing is been done in the RibbonPanel. Please find the code snippet below.
SPSubburaj Pandian Veluchamy Syncfusion Team July 31, 2019 04:17 AM
Thank you for the update.
We understand that the provided event is invoked after the intermediate drawing and the ribbon is locked up. There is an event in the ToolStripTabItem which fires after clicking a new tab and it may be useful to write your Suspend code.
Can you please check whether this event is helpful in resolving your issue, if not we have planned to implement a new event “SelectedTabItemChanging” which invokes just after clicking a new tab. Based on your confirmation, we will implement the same.
Please let us know if you have any concern on this.
Regards, Subburaj Pandian V
RPRafal PawlowskiAugust 2, 2019 04:33 AM
So if I understand suspend/resume code would look like this: