Вопрос

Is it possible to do a KendoUI mobile project, using ASP.net mvc? Watching the introduction on Pluralsight, I'm sort of confused. As an example, KendoUI Mobile uses something like this to navigate:

<a href="#someView" data-role="button">Go to some view</button>

When rendering views through RenderBody in my main layout, will I have to specify this view as a mobile view, or does the application defined in my main layout pick up on this?

So, I guess my question is this; Has anyone got any experience on this combination and, if so, could you provide some resources as to where this combination is being used?

Это было полезно?

Решение

I figured this on out. Seems to be a few projects out there using this combination. One example is this project: KendoUI mobile task manager

That being said, I'll try to play around and tweak the framework to my needs.

Другие советы

The answer is Yes. I was searching for the same answers, and found this resource very helpful, using MVC4, with detailed explanations:

Single Page App using MVC and Kendo Mobile

When searching for references and tutorials, what is not immediately clear is that Kendo UI Mobile is a different setup from Kendo UI. As WhizKid points out it is a single page application, and all your data must go through AJAX.

If you have not used them before, you will probably need to learn Kendo's MVVM and datasources. You must decide what sort of interface you will use for data exchange (eg. WebApi, OData) and fix the routing.

The reason I am going this way is because Kendo comes with good looks, and MVC can help me with localization.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top