Just downloaded the trial version of Kendo Mobile, and created a "empty" MVC3 web project as a playground.
Added the css and js files, but I can't seem to get it to work.
_Layout.cshtml:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title </title>
<link href="@Url.Content("~/Content/kendo.mobile.ios.min.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/kendo.mobile.min.js")" type="text/javascript"></script>
</head>
<body>
<div data-role="view">
<div data-role="header">
Header</div>
Hello world!
<div data-role="footer">
Footer</div>
</div>
@RenderBody()
<script type="text/javascript">
window.kendoMobileApplication = new kendo.mobile.Application(document.body);
</script>
</body>
</html>
* The @RenderBody will only render a dummy content (no HTML present)
Running the website I get a JScript runtime error in the kendo.mobile.min.js file.
Added the css and js files, but I can't seem to get it to work.
_Layout.cshtml:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title </title>
<link href="@Url.Content("~/Content/kendo.mobile.ios.min.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/kendo.mobile.min.js")" type="text/javascript"></script>
</head>
<body>
<div data-role="view">
<div data-role="header">
Header</div>
Hello world!
<div data-role="footer">
Footer</div>
</div>
@RenderBody()
<script type="text/javascript">
window.kendoMobileApplication = new kendo.mobile.Application(document.body);
</script>
</body>
</html>
* The @RenderBody will only render a dummy content (no HTML present)
Running the website I get a JScript runtime error in the kendo.mobile.min.js file.