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

UI for ASP.NET MVC with AngularJS

2 Answers 284 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
leblanc
Top achievements
Rank 1
leblanc asked on 20 Jul 2014, 07:58 PM
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 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 22 Jul 2014, 08:29 AM
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.

 
0
Nik Ivancic
Top achievements
Rank 1
answered on 19 Oct 2014, 02:31 PM
[quote]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.

 
[/quote]
Tags
General Discussions
Asked by
leblanc
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Nik Ivancic
Top achievements
Rank 1
Share this question
or