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
1065
Very urgent: Save/Load ComponentSettings
posted

Hello,

In our application we use a usercontrol (usrCtrl) which contains a UltraToolbarsManager (utmMain).
There are multiple instances of this usercontrol in different forms.

Every usercontrol has a unique name (Example: usrCtrl_1, usrCtrl_2, ...... ,usrCtrl_n).

Before closing one of the forms we implemented these two steps:
1. setting the usrCtrl_n.utmMain.SettingsKey to the unique name of the usrCtrl_n.
(Example: usrCtrl_1.utmMain.SettingsKey = usrCtrl_1.Name)
2. Then we call usrCtrl_n.utmMain.SaveComponentSettings().

When we reopen the form we use the Form.Load event to do following steps:
1. set again the usrCtrl_n.utmMain.SettingsKey to the unique name of the usrCtrl_n.
2. Then we call usrCtrl_n.utmMain.LoadComponentSettings().

So for every usercontrol instance the user configurations for the usercontrol's UltraToolbarsManager are saved and reloaded properly.

Until now it worked great....

But a few days ago we published a new version of our application which contains new tools in the usercontrol's UltraToolbarsManager. Now our problem is that the user can't see the new tools. It seems like that the loading of the saved component settings completely overwrites the designed UltraToolbarsManager settings.

What can we do to prevent this behaviour so that the new tools appear and the user configuration takes effect too?

Best regards
isiraider