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
close icon

Storing custom object in diagram node

Hi,

How can I store custom object in a diagram node? Now, I am using Node.Tag property to store custom serizable object and diagram can be saved properly but saved file cannot be opened.


Thanks,

Joseph

1 Reply

DM Dinesh M Syncfusion Team September 28, 2009 05:04 AM UTC

Hi Joseph,

It is not possible to store a custom object in a .edd file and the tag property of a node would be set to null before serialization, because you can insert in tag some custom type and in future you would not be able to deserialize it without custom type definition.

However as you have mentioned that "saved file cannot be opened" there may be some other reason causing this issue. Please provide us a sample that reproduces the issue that you have mentioned.

Regards,
Dinesh

Loader.
Live Chat Icon For mobile
Up arrow icon