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

'KendoGridAjaxEditing' could not be found (are you missing a using directive or an assembly reference?)

1 Answer 177 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 29 Oct 2013, 02:16 AM
I am new to Kendo. I am working with the Ajax tutorial.  In my view I place the line:
@(Html.Kendo().Grid<KendoGridAjaxEditing.Models.RoleViewModel>()

When I run and access my page with the Kendo Grid, I get the following error message:

Compiler Error Message: CS0246: The type or namespace name 'KendoGridAjaxEditing' could not be found (are you missing a using directive or an assembly reference?)

I have searched the documentation and cannot find the namespace to resolve error message.  I appreciate the assistance in resolving this error.

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 29 Oct 2013, 07:15 AM
Hi Tom,

 RoleViewModel is a class from your application and you should use its fully qualified name. The source code of the RoleViewModel class should tell you what the namespace is.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Tom
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or