I've trying to use the scaffolding for Kendo UI but as soon
as I select something else than "AJAX" like Web.api" the scaffolding
always aborts with a "There was an error running the selected code
generator. An unknonw error occurred during generation". This also seem
to happen for MVC scaffolder. Same problem in both VS2013 and VS2015.
Using default options, ie AJAX, seem to work though.
Any ideas on how to solve this?
Regards,
Patrik Johansson
13 Answers, 1 is accepted
Hello Patrik Johansson,
The WebAPI Scaffolding functionality is currently not available for the Kendo UI web Grid, but will be available for the next internal build, so feel free to upgrade.
As for the MVC WebAPI - I have just tested it and it works correctly, so please try again and let me know if there are any issues
Regards,
Kiril Nikolov
Telerik
When you mention "As for the MVC WebAPI", does this refer to Kendo UI scaffolding using MVC Helpers or something else?
Because when I choose "Kendo UI Scaffolder" => "UI for MVC Grid" and choose webapi I get the exact same problem as when I choose "Kendo UI Scaffolder" => "Kendo UI grid" and select webapi.
Hello Patrik Johansson,
I have tested again the MVC Grid Scaffolder with WebAPI, and created a video showing, please see the attached file and let me know if I missed something. On a side note what version of Visual Studio are you using?
As for the Kendo UI Web Grid WebAPI Scaffolder, the problem is that we did not hide the WebAPI option, before actually implementing it, however we have it implemented now and it will be released with the next Kendo UI build that should be shipped soon.
Regards,
Kiril Nikolov
Telerik
Thanks Kiril,
I was actually able to get it to work sometimes, but others it doesn't and give me the error message listed previously. So far I have not been able to find out why though. But I'm mainly interested in the "client side version" so I guess the new version is what I am looking for.
Hello Patrik Johansson,
Yes, with the next version the WebAPI Scaffolding will be available for the Web Kendo UI Grid as well. If you need an example, we have one here:
https://github.com/telerik/kendo-examples-asp-net-mvc/tree/master/grid-data-source-request-web-api
Regards,
Kiril Nikolov
Telerik
Hello Patrik Johansson,
We should release a new version by the end of the week, so you can test the new setup.
Regards,
Kiril Nikolov
Telerik
Hi,
Where can I find this new version?
Hello Patrik Johansson,
You can download the latest version 2015.3.1020 from your profile, however to make it easier for you I have attached it here as well.
Regards,
Kiril Nikolov
Telerik
Ah, I thought you meant a real release and not an internal one. Thank you.
Regards,
Patrik Johansson
For anyone like me having trouble installing this Extension, please try VSIXInstaller located at:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe
For some unknown reason, just double clicking the file didn't work for me, seems to be a common problem with VS2015.