Mimic .NET Master Pages

6 posts, 0 answers
  1. Jeffrey Edgett
    Jeffrey Edgett avatar
    22 posts
    Member since:
    Jun 2005

    Posted 03 Jan 2012 Link to this post

    I am trying to think of a way to mimic .NET's master page concept in KendoUI.  

    I want the ability to edit one page's HTML and it be reflected across the whole site.    If I change the site layout I don't want to have to do the same edit's over and over on every page.

    Could this be done with templates somehow?


  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 04 Jan 2012 Link to this post

    Hello,

     No, this cannot be done with templates. However you can continue using a server side technology such as ASP.NET and use master pages. Building an HTML5 application does not specifically forbid using a server side platform.

    All the best,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Jeffrey Edgett
    Jeffrey Edgett avatar
    22 posts
    Member since:
    Jun 2005

    Posted 04 Jan 2012 Link to this post

    I am looking for a way to mimic this without using .NET (namely so that I can create disconnected web apps).

    Perhaps this is something you could add to your roadmap?

  5. Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 04 Jan 2012 Link to this post

    Hi Jeffrey,

    Any masterpage editing tool requires some server-side (or desktop) implementation in order to apply and save changes to files on the web server. In addition, the discussed functionality is not a UI component. These are the two main reasons why such a feature is out of the scope of Kendo UI and offering it as part of the framework is unlikely. Thank you for you feedback, though.

    I can tell you how we are currently handling the Kendo UI demos - we have HTML snippets for the reusable HTML code that act like a masterpage. We "compile" the reusable snippets and the demo-specific HTML with Node.js. You can consider using a similar approach (if possible) in order to avoid multiple file edits.

    Kind regards,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Jeffrey Edgett
    Jeffrey Edgett avatar
    22 posts
    Member since:
    Jun 2005

    Posted 04 Jan 2012 Link to this post

    This node.js solution would be something I would be interested in knowing more about.
  7. Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 04 Jan 2012 Link to this post

    Hello Jeffrey,

    I am afraid our Node.js demo site build scripts are for internal use only. Please research the capabilities of this platform by using the various resources available online.

    Greetings,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready