Types
The Notification provides the "info", "success", "warning", and "error" built-in notification types.
The predefined Notifications enable you to apply different templates and looks for each type and provide ready-to-use shorthand display methods and styling functionalities. The shorthand method names match the listed notification types. You can also define an unlimited amount of custom notification types and corresponding templates.
Starting with 2026 Q1 version when no
typeparameter is passed to theshowmethod, the Notification will be displayed with default colors (colourless). Previously, the default value of thetypeproperty wasinfo. If you need to acheive the previous appearance you can useinfomethod or explicitly passinfoas a parameter to theshowmethod.
The following example demonstrates how to apply built-in notification types. You can define an unlimited amount of custom notification types and corresponding templates.
<span id="notification"></span>
<script>
$(function(){
var notificationElement = $("#notification");
notificationElement.kendoNotification();
var notificationWidget = notificationElement.data("kendoNotification");
// Display a "foo" warning message.
notificationWidget.show("foo", "warning");
// The above line is equivalent to:
notificationWidget.warning("foo");
// Display a "bar" information message.
notificationWidget.show("bar", "info");
// The above line is equivalent to:
notificationWidget.show("bar");
// and also to:
notificationWidget.info("bar");
});
</script>