Navigates to the given route.

Parameters

route String

The route to navigate to.

silent Boolean (default: false)

If set to true, the router callbacks will not be called.

Example

<a id="link" href="#">Click me</a>

<script>
var router = new kendo.Router();

router.route("/items/:category/:id", function(category, id) {
  console.log(category, "item with", id, " was requested");
});

$(function() {
  router.start();
  $("#link").click(function() {
    router.navigate("/items/books/59");
    return false;
  });
});
</script>
In this article
Not finding the help you need?