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

Adding Swimlane to Diagram

Thread ID:





132110 Aug 15,2017 04:15 AM UTC Aug 16,2017 09:37 AM UTC ASP.NET Web Forms 1
Tags: Diagram
Deshan Thilakarathne
Asked On August 15, 2017 04:15 AM UTC

I would like to know how to add a swimlane into the page via the aspx.cs page to load the swimlane at runtime.

I have been able to load nodes by creating them and subsequently adding them to the page via the following code:


What is the way I can add a swimlane similarly?

Shyam G [Syncfusion]
Replied On August 16, 2017 09:37 AM UTC

Hi Deshan, 
We have created a swimlane sample in which we have rendered the swimlane in symbol palette and the diagram. please refer to the sample below. 
  • Also please refer to the MVC help documentation below in which we have shown how to create a swimlane in class file. By the same way, you can create it in aspx.cs page.
  • But adding a swimlane in nodes collection differs in MVC and ASP.NET, please refer to the code example below in which we have shown how to add a swimlane in nodes collection in ASP.NET.
      Code example: 
      Aspx.cs page 
           //create swimlane 
            SwimLane swimlane = new SwimLane(); 
            swimlane.Type = "swimlane"; 
            swimlane.Name = "swimlane"; 
            //append swimlane in nodes collection 
Shyam G 


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

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