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

De-Serialization Issue

Thread ID:





66956 Aug 6,2007 02:55 PM UTC Aug 7,2007 12:32 AM UTC WinForms 1
Tags: Diagram
Robin Russell
Asked On August 6, 2007 02:55 PM UTC

I am creating a custom symbol and serializing it, when i de-serialize it the right click action doesnt do as it would in the unsaved version. see attached test app, its currently a bit rough around the edges. before saving if you select and right click the symbol and click Add link...Link the outline should trun green. This does not work and throws an error on a deserialized version of the diagram.


J.Nagarajan [Syncfusion]
Replied On August 7, 2007 12:32 AM UTC

Hi Robin,

Thanks for your interest in Syncfusion product.

I was able to reproduce this issue. I have fixed this issue in your sample. You can do any action after the deserialization. Please refer to the modified code.

If m_OuterRect Is Nothing Then
Me.m_OuterRect = New Syncfusion.Windows.Forms.Diagram.RoundRect(0, 0, 60, 60, 15, MeasureUnits.Pixel)
Me.m_OuterRect.PinPoint = New PointF(40, 70)
End If
Select Case State
Case "Unplugged"
Me.m_OuterRect.FillStyle.Color = Color.Gray
Case "Connected"
Me.m_OuterRect.FillStyle.Color = Color.White
Case "Delivered"
Me.m_OuterRect.FillStyle.Color = Color.Yellow
Case "Acknowledged"
Me.m_OuterRect.FillStyle.Color = Color.Green
Case "TimedOut"
Me.m_OuterRect.FillStyle.Color = Color.Red
Case "Reset"
Me.m_OuterRect.FillStyle.Color = Color.White
End Select

I have attached the sample for your reference. You canb download the sample from the following page.


Please refer to the sample and let me know if you have any questions.



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

or the page will be automatically redirected to 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