Skip to content

[ASP.NET Core] GridToolBarCustomCommandBuilder does not contain .Action() method as it does in ASP.NET MVC 5 #2008

@TeamCityBuildUser

Description

@TeamCityBuildUser

I'm submitting a Bug report (Feature request?)

Reproduction of the problem

When using ASP.NET MVC Core 1.0 the GridToolBarCustomCommandBuilder class does not contain .Action() method as it does in ASP.NET MVC 5

Current behavior

The following code is giving me compilation error:

toolbar.Custom()
       .Action("Index", "Navigation", new {area = "Administration"})
       .Name("custom-toolbar-button")
       .Text("Back to administration");

Expected/desired behavior

The above code used to work in ASP.NET MVC 5.2.3 but when migrating the project to ASP.NET Core 1.0 it is giving the following compilation error: CS1929 'GridToolBarCustomCommandBuilder' does not contain a definition for 'Action' and the best extension method overload 'NavigatableExtensions.Action(INavigatable, string, string, object)' requires a receiver of type 'INavigatable' Stratus.Web.Infrastructure..NETStandard,Version=v1.6.

Environment

  • Kendo UI version: 2016.2.714
  • jQuery version: doesn't matter
  • Browser: all

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions