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

Can the designer work with a file other than index.html

1 Answer 106 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Si
Top achievements
Rank 1
Si asked on 27 Feb 2014, 12:55 PM
I would like to layout my kendo ui mobile with separate .html files for each view, so that my project tree would end up looking like

Plugins
Properties
data/
kendo/
script/
styles/
views/view1.html
           view2.html
           view3.html
cordova.js
index.html

I have tried this using this structure but the 'designer' errors with "Designer View is only available with the Kendo UI Mobile or DataViz templates" when i try to open view1.html

Is what i am attempting possible with the designer?

1 Answer, 1 is accepted

Sort by
0
Pavel Kolev
Telerik team
answered on 28 Feb 2014, 03:20 PM
Hello Si,

The Designer View is only available if you are using Kendo UI Mobile or Kendow UI DataViz templates to create your project. If you create Blank project or jQuery mobile project the Designer View will not be available.

It is possible to create the structure you described and use the Designer View but first you have to create your project as Kendo UI Mobile or Kendo UI DataViz project. The other option for existing project is just to add kendo.mobile.min.js to your project.

If you want to create html page and edit it in the designer that html page should have jquery.js and kendo.mobile.all.js included. Here is a small snippet you can use when you want to create html page that will work in Designer View

<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="utf-8" />
    <link href="kendo/styles/kendo.mobile.all.min.css" rel="stylesheet" />
    <link href="styles/main.css" rel="stylesheet" />
 
    <script src="cordova.js"></script>
    <script src="kendo/js/jquery.min.js"></script>
    <script src="kendo/js/kendo.mobile.min.js"></script>
</head>
<body>
</body>
</html>


Note that Designer View is still experimental. Please do not hesitate to contact us for any other problems you expirience with Designer View.


Regards,
Pavel Kolev
Telerik
Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
Tags
AppBuilder Windows client
Asked by
Si
Top achievements
Rank 1
Answers by
Pavel Kolev
Telerik team
Share this question
or