Custom Notification/Message - Forum - Kendo UI Builder - Progress Community

Custom Notification/Message

 Forum

Custom Notification/Message

This question is answered

Hello,

In KUIB 2, how do I generate a custom notification message using the same format as grid errors?  I have a custom button that will make a separate ajax call to perform a function and I want to be able to display either a successful or error message to the user when it is done.

Louis

Verified Answer
  • Hello Louis,

    You can use the following code to show notification messages:

    $scope.$emit('notification', {
        type: 'error',
        message: "Error Message"
    });				
    				

    I hope this helps,

    Edsel

All Replies
  • Hello Louis,

    You can use the following code to show notification messages:

    $scope.$emit('notification', {
        type: 'error',
        message: "Error Message"
    });				
    				

    I hope this helps,

    Edsel