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

Problem with deserialization of 2 like views

Thread ID:

Created:

Updated:

Platform:

Replies:

4812 Jun 2,2003 05:55 PM UTC Jun 3,2003 04:43 PM UTC Windows Forms 1
loading
Tags: Tools
Rachel York
Asked On June 2, 2003 05:55 PM UTC

Hi, I have a form with a docking manager on it. I have several forms that I have created for docking. If i create only one instance of each of these forms show them and dock them in different positions, on serialization and deserialization everything works fine. However, if I create 2 instances of the same form type and dock them, say one floating and one docked in my host form, I get funny behavior. On deserialization typically both of those forms of the same type will be docked, thus losing my floating behavior as was before serialization. Any ideas?? In general if i have 2 instances of a form hosted by the docking manager I'm having serialization problems. Thanks in advance! Rachel

Prakash S [Syncfusion]
Replied On June 3, 2003 04:43 PM UTC

Hi Rachel, The DockingManager uses a dockable control's Control.Name property as the hash ID during serialization. If your dockable controls (forms in your case) are being dynamically created, then make sure that each of these has an unique value for the Name property. Prakash Syncfusion

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

;