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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

unable to run application

Thread ID:

Created:

Updated:

Platform:

Replies:

150861 Jan 22,2020 08:37 AM UTC Jan 23,2020 04:39 PM UTC ASP.NET MVC - EJ 2 1
loading
Tags: Gantt Chart
Archana Marathe
Asked On January 22, 2020 08:37 AM UTC

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

Jesus Arockia Sankaran S [Syncfusion]
Replied On January 23, 2020 04:39 PM UTC

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 


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.

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

Live Chat Icon For mobile
Live Chat Icon