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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Swimlane acting like a connectable node, was working ok with old SDK

Thread ID:

Created:

Updated:

Platform:

Replies:

128277 Jan 11,2017 10:22 PM UTC Jan 12,2017 12:12 PM UTC ASP.NET Web Forms 2
loading
Tags: Diagram
Ajay Soni
Asked On January 11, 2017 10:22 PM UTC

Hi,

I just upgraded to the latest SDK to take advantage of the fix for resizing adjacent swimlanes, but I noticed a peculiar problem:

The swimlane has now become a connectable target. It was working in an early release of the SDK. Any ideas why this is happening?

This is what I am adding to my palette:

   private Lane CreateSwimLane(string name, string orientation, int width, int height)
        {
            var swimLane = new Lane
            {
                AddInfo = new Dictionary<string, object> { ["type"] = name },
                Name = name.Replace(" ", ""),
                Header =
                {
                    Text = "",
                    Width = 60,
                    Height = 60,
                    FillColor = "#C7D4DF",
                    FontSize = 11
                },
                Width = width,
                Height = height,
                Orientation = orientation,
                FillColor = "#f5f5f5",
                OffsetX = width / 2,
                OffsetY = height / 2
            };
            swimLane.Constraints |= NodeConstraints.Resize;
            return swimLane;
        }

Thanks

Ajay

Attachment: Capture_5c4e5eb9.zip

Ajay Soni
Replied On January 11, 2017 10:28 PM UTC

FYI tried removing this constraint, but didn't work:
swimLane.Constraints &= ~NodeConstraints.Connect;


Shyam G [Syncfusion]
Replied On January 12, 2017 12:12 PM UTC

Hi Ajay, 
 
We considered this “Connector should not be connected with the swim lane” as an issue and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates. 
 
                                                                                                                                     
Regards, 
Shyam G 


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

;