We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Bar Manager

We are still using version 3. I would like to persist the customization of tool bars to my database for each user. SaveBarState works fine for position info but not for customization. AutoPersistCustomization works but it places the info in IsolatedStorage. Is there a way to save this customization so that I can store it in my table then load it when the user restarts?

1 Reply

JA JayaLakshmi Syncfusion Team June 18, 2007 10:30 AM UTC

Hi Chuck,

Thank you for using Syncfusion products.

You can save the bar customization to different media such as the default Isolated Storage, XML file, XML stream, Binary file, Binary stream and the Windows Registry.

The code snippet used for this is as follows :

AppStateSerializer serializer = new AppStateSerializer(SerializeMode.XMLFile, @"C:\MyFile");
mainFrameBarManager.SaveBarCustomization(serializer);

Please refer the attached sample and let me know if this helps.

http://websamples.syncfusion.com/samples/Tools.Windows/F62517_1/main.htm

The attached sample allows the user to save/load the bar customization to/from a XML file.

Regards,
Jaya

Loader.
Live Chat Icon For mobile
Up arrow icon