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

Kendo Trial - error on "empty" app

1 Answer 76 Views
Application
This is a migrated thread and some comments may be shown as answers.
Nico
Top achievements
Rank 1
Nico asked on 22 Mar 2012, 09:51 PM
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.

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 23 Mar 2012, 08:42 AM
Hi,

Kendo UI Mobile works only in webkit based browsers. From what I see, you try to run it in Internet Explorer. 


Regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Application
Asked by
Nico
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or