This is a migrated thread and some comments may be shown as answers.

How do you create a Gantt Chart in ASP.NET 5?

3 Answers 225 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Nizar
Top achievements
Rank 1
Nizar asked on 11 May 2016, 10:12 PM

I have created an MVC ASP.NET 5 Web API project  which uses DNX 4.5.1

I am trying to create a gantt chart in my .cshtml view file via the following code:

<div id="gantt">
    @(Html.Kendo().Gantt<GanttData, DependencyViewModel>()
                .Name("Gantt")
                .DataSource(ds => ds
                    .Read(read => read
                        .Action("Tasks", "Home")
                    )
                    .Model(m =>
                    {
                        m.Id(f => f.TaskID);
                        m.ParentId(f => f.ParentID);
                        m.OrderId(f => f.OrderId);
                        m.Field(f => f.Expanded).DefaultValue(true);
                    })
                )
                .DependenciesDataSource(ds => ds
                    .Read(read => read
                        .Action("Dependencies", "Home")
                    )
                    .Model(m =>
                    {
                        m.Id(f => f.DependencyID);
                        m.PredecessorId(f => f.PredecessorID);
                        m.SuccessorId(f => f.SuccessorID);
                        m.Type(f => f.Type);
                    })
                ).Resizable(true)
    )
</div>

The error comes from IHtmlHelper "not containing a definition" for Kendo even though Kendo.Mvc is in my project's references. 

This identical code successfully generates a gantt chart in a ASP.NET 4.5.1 MVC 4 project, however.

Is there a way to create a Gantt chart in an ASP.NET 5 MVC application?

 

Thanks

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Bozhidar
Telerik team
answered on 12 May 2016, 06:34 AM
Hi,

You can find the current releases of the Kendo MVC Core widgets here:
https://github.com/telerik/ui-for-aspnet-mvc-6-demos/releases

The Gantt widget will be included in the next update, which will come after the RC2 of MVC Core is released.

Regards,
Bozhidar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Nizar
Top achievements
Rank 1
answered on 12 May 2016, 03:04 PM

When can we expect a usable beta release or official release for the Gantt widget? (They say RC2 will be released mid-May of this year?)

 

Cheers,

Nizar Maan

0
Bozhidar
Telerik team
answered on 13 May 2016, 05:16 AM
Hello,

Once the RC2 rolls out we have to fix the current implementation of the wrappers to comply with all the breaking changes that the RC2 contains. Since we can't yet estimate how long this will take, I can't give you a concrete date, but most probably a couple of weeks to a month after the RC2 release.

Regards,
Bozhidar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Gantt
Asked by
Nizar
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Nizar
Top achievements
Rank 1
Share this question
or