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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bar Manager

Thread ID:





62517 Jun 17,2007 02:11 PM UTC Jun 18,2007 10:30 AM UTC WinForms 1
Tags: Tools
Asked On June 17, 2007 02:11 PM UTC

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?

JayaLakshmi [Syncfusion]
Replied On 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");

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


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



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon