This is a migrated thread and some comments may be shown as answers.

suppressCompleteMessage is a Method as of Q1 2015

0 Answers 28 Views
Spell
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Telerik Admin
Top achievements
Rank 1
Iron
Telerik Admin asked on 05 Feb 2015, 02:58 PM
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');
}

Tags
Spell
Asked by
Telerik Admin
Top achievements
Rank 1
Iron
Share this question
or