1

是否可以使用 ASP.net mvc 做一个 KendoUI 移动项目?看着 Pluralsight 上的介绍,我有点困惑。例如,KendoUI Mobile 使用类似这样的方式进行导航:

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

在我的主布局中通过 RenderBody 渲染视图时,我是否必须将此视图指定为移动视图,或者我的主布局中定义的应用程序是否会接受这一点?

所以,我想我的问题是这样的;有没有人对这种组合有任何经验,如果有,您能否提供一些资源来说明这种组合的用途?

4

2 回答 2

0

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.

于 2014-02-11T16:15:37.640 回答
0

我想通了。似乎有一些项目使用这种组合。一个例子是这个项目:KendoUI 移动任务管理器

话虽如此,我将尝试根据自己的需要调整框架。

于 2013-05-03T06:02:31.143 回答