Need examples about Kendo Router with pushState=true

2 posts, 0 answers
  1. phx255
    phx255 avatar
    10 posts
    Member since:
    Feb 2016

    Posted 29 Nov 2016 Link to this post

    I'm searching documentation about kendo Router with pushState=true. 
    Using the configuration like:



    when I use router.navigate always is fired the routeMissing event. Why?

    I think that there isn't enought documentation about how to work with pushState.

    Should i use navigate with pushState:true or history.pushState?

    Can some write some example ?


    var router = new kendo.Router({
        pushState: true,
        root: "/",
        init: function(e) {
        routeMissing: function(e) {
        change: function(e) {
    router.route("/", function() {
    router.route("/previsiones", function() {
  2. Stefan
    Stefan avatar
    1654 posts

    Posted 01 Dec 2016 Link to this post

    Hello Jaime,

    The documentation and example for the pushState property of the router can be found at the following link:

    Also, please check the requirements when the root property is set and the pushState property is set to true:

    The routeMissing event should be fired only when no route match is found:

    Additionally, I can suggest checking the following article for the Kendo UI Router which contains examples:

    I hope this information will help to achieve the desired result.

    Telerik by Progress
    Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Back to Top