ignoreCaseBoolean(default: true)

Introduced with Q3 2014. If set to false, the router instance will perform case sensitive match of the url against the defined routes.

Example

<script>
var router = new kendo.Router({ ignoreCase: false });

router.route("/Items/:id", function(id) {
    console.log("Case sensitive route matched for item:", id);
});

router.route("/items/:id", function(id) {
    console.log("Lowercase route matched for item:", id);
});

$(function() {
    router.start();
    
    // This will match the lowercase route only
    router.navigate("/items/123");
    
    // This will match the case sensitive route only
    router.navigate("/Items/456");
});
</script>
In this article
ignoreCase
Not finding the help you need?
Contact Support