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.
Unfortunately, activation email could not send to your email. Please try again.

Bar Manager

Thread ID:

Created:

Updated:

Platform:

Replies:

62517 Jun 17,2007 10:11 AM Jun 18,2007 06:30 AM Windows Forms 1
loading
Tags: Tools
Chuck
Asked On June 17, 2007 10:11 AM

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 06:30 AM

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

CONFIRMATION

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.

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.

;