suppressCompleteMessage is a Method as of Q1 2015

Thread is closed for posting
1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 05 Feb 2015 Link to this post

    As of Q1 2015, the suppressCompleteMessage property of the OnClientCheckFinished event's arguments is a method.

    To prevent the informational alert, you now have to pass false as an argument (Example 1), instead of setting the property value, as in older versions (Example 2).

    Example 1: Preventing the information alert in OnClientCheckFinished in Q1 2015 and later.
    function OnClientCheckFinishedHandler(sender, args) {
        args.suppressCompleteMessage(true);//prevent the alert
        console.log('Spell check is complete');
    }

    Example 2: Preventing the information alert in OnClientCheckFinished
    in versions before Q1 2015. 
    function OnClientCheckFinishedHandler(sender, args) {
        args.suppressCompleteMessage = true;//prevent the alert
        console.log('Spell check is complete');
    }

Back to Top