I realize that Telerik has posted a roadmap to releasing an Angular 2 version for Kendo UI. That's awesome, however; our company has already begun developing using Angular 2 and our release map is not inline with Telerik's. One strategy we are considering is to use KendoUI Angular 1 directives and the Angular 2 UpgradeAdapter. This will enable us to use Angular 1 directives inside of a Angular 2 implementation.
Has anyone used the UpgradeAdapter to leverage Kendo UI Angular 1 directives inside of Angular 2 using upgradeNg1Component?
Thanks!
Related
I need some advice on what the best practice is in adding Metronic 5.0 components into my ASP.NET zero template. I was expecting that Metronic 5 would include directives for Angular 2 but it is not the case and all components are set to a field via JQuery yet. For example how would I be able to include the Metroic 5 slider into my project? I have noticed that there is a PrimeNg slider directive in the project and once I included it into my main.module i can simply using its directive in my code. But how can I use Metronic ones? I can't find any angular directive for Metronic in the downloaded package! there are just some demo pages which all are using Javascript to bind html elements to components. I have not found the core javascripts code for the Metronic elements yet though!
I think it would be very helpful to have a tutorial on how to add extra metronic components into the template.
I used the latest angular-fullstack-generator - v4.0.4 to create an app, but the client looks a lot like angular 2. It has components instead of controllers, it has classes, constructors etc. Have they stopped angular 1 now? Is there any option that I can set to create the app in angular 1? I do not know angular 2 yet.
Thanks!
I am very new to AngularJS + Kendo UI Mobile.
I am not even sure if it's supposed to be called Angular Kendo.
However, while reading through various sources, I came across conflicting statements regarding the routing mechanism of an app that uses AngularJS and Kendo UI Mobile.
http://docs.telerik.com/kendo-ui/AngularJS/introduction says :
If you are using AngularJS then you probably want to use Angular's own routing mechanism and data binding. Do not mix that with Kendo MVVM.
However this example here http://docs.telerik.com/kendo-ui/mobile/angular/angular mentions :
The mobile application instantiates and maintains its own routing mechanism based on the router component, which automatically matches and instantiates views when navigating. Unlike the ng-route/ng-view and the ui-router implementations, the mobile application does not unload the previous view when navigating to the new one.
So, what should I do? Which is the most preferred way and why?
I've incurred the same sort of conflicting info you have. Basically, it seems Telerik first put out a solution around April '14, but then modified the integration and structuring methods around November '14.
The Telerik resource linked here should be helpful to devs looking to optimally integrate AngularJS functionality into Kendo UI Mobile, as it's the post 2014 Q3 version: http://docs.telerik.com/kendo-ui/mobile/angular/sushi-angular-tutorial
ASP.NET MVC 4 has some nice mobile features which are replacing my mutant mobile view engines, but until it's production ready, I'd like to implement the browser override feature for ASP.NET MVC 3.
SetOverriddenBrowser() seems to set a .ASPXBrowserOverride cookie with an overriding User Agent that returns an HttpBrowserCapabilitiesBase object via HttpContext.GetOverriddenBRowser().
What would be the simplest way of implementing this feature for MVC 3 to make use of the mobile detection library, including 51Degrees.mobi?
There is a blog post on the 51Degrees.mobi site that you might find useful. Check it out here. It covers the implementation of 51Degrees with MVC 4.
This question already has answers here:
Knockout + mvc 3 + Validation
(4 answers)
Closed 9 years ago.
I am new to knockout and pure js/html frameworks as a whole for creating web sites. However I do have experience with ASP MVC.
In my current project I was originally using MVC to do the back end work, and the front end ui stuffs. With alot of jquery plugged in and other event frameworks etc.
Anyway I am looking at moving the project to mobile devices using PhoneGap, and due to this am moving the backend concerns from the ASP MVC app to a web service (still ASP MVC, but just exposes and consumes data, no views). So this got me thinking, the back end will be responsible for receiving data and auto binding it, validating the model, then persisting it, and returning a relevant result. This way the PhoneGap versions can re-use the jquery and javascript currently used on the front end, and they can consume the data and send the data to the service directly through PhoneGap.
Now with that said, my current web app would become a little redundant, as there is no benefit in my using the asp mvc framework as the same work is carried out on the web service, and also most of the heavy work is client side, although I do heavily make use of clientside validation and partial re-useable views.
So with this all being said, I am looking at scrapping my web app, and just moving it to use Knockout and communicate directly with the service, to cut out the middle man. However I would still need to be able to re-use partial views and would need some sort of validation for the models.
Can Knockout provide this functionality for me? or are there any other plugins/frameworks that allow me to do this?
Knockout has built in templating features (using jquery.tmpl.js or it can use other templating plugins if you choose). Knockout also plays nicely with other js frameworks so using jquery is no problem and most jquery plugins should be accessible from within Knockout. There are also a few examples in the Knockout documentation that use the jquery validation plugin.
Validation Example
Data-Binding Syntax
Templates