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

Scaffolder with Web API not working

13 Answers 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
improwise
Top achievements
Rank 1
Iron
Iron
improwise asked on 02 Oct 2015, 08:20 PM

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

Sort by
0
Kiril Nikolov
Telerik team
answered on 05 Oct 2015, 02:56 PM

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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 05 Oct 2015, 07:35 PM

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.

0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 05 Oct 2015, 07:38 PM
You also write "but will be available for the next internal build, so feel free to upgrade." which indicates both that I could try out the new internal build right now if I wanted to, and that it will be available in the future. Please clarify :)
0
Kiril Nikolov
Telerik team
answered on 06 Oct 2015, 07:17 AM

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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 06 Oct 2015, 09:12 AM

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.

0
Kiril Nikolov
Telerik team
answered on 07 Oct 2015, 02:09 PM

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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 08 Oct 2015, 10:38 PM
Any idea of when the new version with better KendoUI WebAPI support will be released? Is there a beta version or something available even today  of the scaffolder?
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 09 Oct 2015, 09:01 AM
Also, could you please upgrade the example you refere to above so that it works in either VS2013 och VS2015 without having to do a lot of Nuget restores/upgrades.
0
Kiril Nikolov
Telerik team
answered on 12 Oct 2015, 10:08 AM

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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 20 Oct 2015, 08:11 PM

Hi,

 

Where can I find this new version?

0
Kiril Nikolov
Telerik team
answered on 21 Oct 2015, 10:05 AM

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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 21 Oct 2015, 10:59 AM

Ah, I thought you meant a real release and not an internal one. Thank you.

Regards,

Patrik Johansson

0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 28 Oct 2015, 05:45 PM

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.

Tags
Grid
Asked by
improwise
Top achievements
Rank 1
Iron
Iron
Answers by
Kiril Nikolov
Telerik team
improwise
Top achievements
Rank 1
Iron
Iron
Share this question
or