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

unable to run application

Hi,
    I have referred getting started to Gantt Chart. I followed every step and just copied and pasted whole code but its showing me error to this assembly:
<add assembly="Syncfusion.EJ2,Version=16.4400.0.40, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
and if i comment this assembly i get result as:

Syncfusion.EJ2.Gantt.GanttBuilder .TaskFields(ts => ts.Id("TaskId").Name("TaskName").StartDate("StartDate").EndDate("EndDate").Duration("Duration").Progress("Progress") .Child("SubTasks")).Render()

i have installed Syncfusion ASP .NET MVC5 UI Controls through nuget package
unable to proceed further.
please guide me

1 Reply

JA Jesus Arockia Sankaran S Syncfusion Team January 23, 2020 11:39 AM

Hi Archana, 
 
Sorry for the inconvenience. 
 
We are able to reproduce the reported issue and we will fix this and refresh the live documentation site in our upcoming documentation refresh.  
 
However, we request you to use the below code snippet until then. 
@Html.EJS().Gantt("Gantt").DataSource((IEnumerable<object>)ViewBag.DataSource).Height("450px").TaskFields( 
    ts => ts.Id("TaskId").Name("TaskName").StartDate("StartDate").EndDate("EndDate") 
    .Duration("Duration").Progress("Progress").Child("SubTasks") 
    ).Render() 
 
Please get back to us if you need further assistance on this. 
 
Regards, 
Jesus Arockia Sankaran S 


Loader.
Live Chat Icon For mobile
Up arrow icon