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.
Syncfusion Feedback

DockingManager save grid columns/styles but not content

Thread ID:

Created:

Updated:

Platform:

Replies:

102065 Dec 20,2011 11:54 AM UTC Dec 28,2011 10:54 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Darran White
Asked On December 20, 2011 11:54 AM UTC

Hi,
We`re using DockingManager to persist a users workspace.
Using dockManager.SaveDockState

We have a grid as a child in docking manager and we`d like to persist the grid visible columns and styles but not the actual content is there a way to disable the content from being persisted? Also is there a way of stopping a particular control within dockingManager from being persisted?

thanks

Darran


Surya Narayanan G [Syncfusion]
Replied On December 28, 2011 10:54 AM UTC

Hi Darran,

Thanks for using Syncfusion products.

The Docking manager serialization has support only to save and load the state of the Docking manager layout but the element with in the layout will not serialize. If you need, you have to serialize the element separately and de-serialize before the load the docking manager state.

We have created a sample to illustrate serializing the properties of the Child controls using Serializable Interface which you can download under the following link.
In this sample we have used the GridColHelper Serializable wrapper class to get and set the properties of the Element while serializing and de- serializing.

Please let me know if the sample helps.

Regards
Surya Narayana




CS_4ac7c77a.zip

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.

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

;