New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnClientDialogClosing
The OnClientDialogClosing client-side event occurs just before the spell check dialog closes. The event handler receives parameters:
-
The spell checker instance that fired the event.
-
Event argument object with no properties or methods.
The example below displays an alert that the dialog is closing.
ASP.NET
function dialogClosing (sender, args)
{
alert('Dialog is closing');
}
...
<telerik:RadSpell
ID="RadSpell1"
runat="server"
ButtonType="PushButton"
ControlToCheck="TextBox1"
OnClientDialogClosing="dialogClosing"
/>