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

2 posts, 0 answers
  1. Si
    Si avatar
    1 posts
    Member since:
    Feb 2014

    Posted 27 Feb 2014 Link to this post

    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?
  2. Pavel Kolev
    Admin
    Pavel Kolev avatar
    26 posts

    Posted 28 Feb 2014 Link to this post

    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)
Back to Top