UI for ASP.NET MVC with AngularJS

3 posts, 0 answers
  1. leblanc
    leblanc avatar
    56 posts
    Member since:
    Aug 2010

    Posted 20 Jul 2014 Link to this post

    In the past, with the AngularJS.KendoUI nuget package I was able to mix both AngularJS style kendo instantiation with traditional Html.Kendo() instantiation.

    With the latest version Kendo UI v2014.2.716 the bridge is now integrated.

    Today I created a brand new project added Kendo UI v2014.2.716 .  Added <html ng-app="marketing">
    with     <script>
            angular.module('marketing', []);
        </script>

    and noticed that the traditional instantiation is broken.
    "TypeError: m is not a function"


    Attached are images with ng-app and without ng-app behavior.


  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 22 Jul 2014 Link to this post

    Hello Leblanc,

    The server-side wrappers are not supported in AngularJS applications. You can choose whether to create a traditional app and use the server-side wrappers, or a AngularJS client-side application and configure them via JavaScript.

    Regards,
    Alex Gyoshev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Nik Ivancic
    Nik Ivancic avatar
    2 posts
    Member since:
    Aug 2005

    Posted 19 Oct 2014 in reply to Alex Gyoshev Link to this post

    Alex Gyoshev said:Hello Leblanc,

    The server-side wrappers are not supported in AngularJS applications. You can choose whether to create a traditional app and use the server-side wrappers, or a AngularJS client-side application and configure them via JavaScript.

    That is bad news for me as I just downloaded the  UI for ASP.NET MVC trial expecting to do what Leblanc expected. It would be terrific to have the best of both worlds in one framework united. 

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top