New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

OnClientDialogClosing

The OnClientDialogClosing client-side event occurs just before the spell check dialog closes. The event handler receives parameters:

  1. The spell checker instance that fired the event.

  2. Event argument object with no properties or methods.

The example below displays an alert that the dialog is closing.

function dialogClosing (sender, args)
{
   alert('Dialog is closing');
}
...   

<telerik:RadSpell
   ID="RadSpell1"
   runat="server"
   ButtonType="PushButton"
   ControlToCheck="TextBox1"
   OnClientDialogClosing="dialogClosing"
/> 
In this article