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

The Type or Namespace name ' GridAction' could not be found

1 Answer 513 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tarang
Top achievements
Rank 1
Tarang asked on 12 Dec 2018, 08:33 AM

I am getting this error "The Type or Namespace name ' GridAction' could not be found" while upgrading the application from version 2011.2.712 to 2018.3.1017.

Please let me know how to solve this error.

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 13 Dec 2018, 03:03 PM
Hello Tarang,

The Telerik Extensions for ASP.NET MVC that you previously used in your project were discontinued in 2013 and replaced by UI for ASP.NET MVC, which is built on top of the Kendo UI widgets. 

The GridAction attribute is no longer needed in the UI for ASP.NET MVC Grid. You can see the most common Grid binding setup explained in this article:
Ajax Binding

Also, you can check the Data Binding section of the Grid demos to see this and other binding scenarios:
Grid Binding Demos

Try configuring your Grid according to the documentation/demo examples and let me know if you encounter problems with its binding.

Also, you can check out the documentation elaborating on the differences between the two libraries and the changes needed when upgrading. This is the general set up article:
Telerik Extensions Migration Overview

There are also separate articles for widgets where the differences in API and behavior are listed. For example:
Grid Migration

I hope this information helps.

Regards,
Tsvetina
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Tarang
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or