WebApiDataSourceRequestModelBinder not recognized

5 posts, 0 answers
  1. Ariel
    Ariel avatar
    3 posts
    Member since:
    Sep 2016

    Posted 12 Sep 2016 Link to this post

    Hi,

          I updated Example from https://github.com/telerik/kendo-examples-asp-net-mvc , "grid-data-source-request-web-api" to Framework 4.6.1

          I get the following and I don't get a clue from object browser or googling:

          DescriptionProjectFileLine
    The type or namespace name 'WebApiDataSourceRequestModelBinder' could not be found (are you missing a using directive or an assembly reference?)grid-data-source-request-web-apiP:\grid-data-source-request-web-api\grid-data-source-request-web-api\Controllers\OrdersController.cs23

          DOES KENDO UI WORK WITH FRAMEWORK 4.6.1??

  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    1285 posts

    Posted 14 Sep 2016 Link to this post

    Hello Ariel,

    Kendo UI works with .NET Framework 4.6.1. I tried to reproduce the described issue, but the discussed project run as expected, as you can see in the attached video:

    http://screencast.com/t/ZIgKvWBnLv

    Please make sure that all Kendo files are properly referenced and included, as described in the following section of our documentation:

    http://docs.telerik.com/kendo-ui/aspnet-mvc/asp-net-mvc-5

    For an example of a Kendo UI Grid, bound to WebAPI, you can also check out the webapi demo from the sample application, available with your installation package:

    http://docs.telerik.com/kendo-ui/aspnet-mvc/introduction#sample-application

    I hope this helps.

    Regards,
    Dimiter Topalov
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
  3. David
    David avatar
    4 posts
    Member since:
    Nov 2017

    Posted 25 Sep 2018 Link to this post

    Yea something is wrong with the kendo.mvc.dll version 2016.6.216 that you get from nuget. It doesn't have the WebApiDataSourceRequestModelBinder.

     

    I had to use version 2014.2.903.545

  4. David
    David avatar
    4 posts
    Member since:
    Nov 2017

    Posted 25 Sep 2018 Link to this post

    Yea something is wrong with version 2016.2.616 That is the latest from NuGet. It is missing this reference

     

    I had to use an older version for it to show up.

  5. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    1081 posts

    Posted 27 Sep 2018 Link to this post

    Hi, David,

    The referenced package is not the official version.

    The official version can be downloaded by following these steps:

    - for UI for ASP.NET MVC https://docs.telerik.com/aspnet-mvc/introduction#download
    - for UI for ASP.NET Core https://docs.telerik.com/aspnet-core/introduction#upgrade 

    Kind Regards,
    Alex Hajigeorgieva
    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.
Back to Top