Hello,
I have an application that opens new forms for user editing. These new forms contain a ribbon with many tools. Typically the forms open in much less than a second and tool updates appear almost instantly when the user enters different controls.
A couple of forms have significantly slower performance taking 5-10 seconds to open and tool updates have a noticeable lag sometimes several seconds. I've timed various parts of the code and narrowed it down to the ultraToolbarsManager1.EndUpdate() call oddly related to form captions including & and :. This seems an unlikely link but ...
I've attached a sandbox that shows a 20 times impact on performance when I run the tests.
Thanks for any assistance.
Wendy
Hello Wendy,
When the Ribbon's Caption property is not set, the Form's Text is used as the caption which is formatted text. As such, special characters such as the ampersand need to be escaped (i.e. written as '$amp;'). Otherwise, the text is attempts and fails to be parsed, causing the rendering slowdown.
In this sample, the text can be changed from "For&m" to "For&m".
Please feel free to let me know if a question about our toolset comes up on your mind.
I created the following case for you: 'CAS-98319-D4H9L5' and will update you through it.