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

OnClientDialogClosing not fired

1 Answer 57 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Chris Sears
Top achievements
Rank 1
Chris Sears asked on 17 Apr 2008, 09:21 PM
In RadControls classic closing the RadSpell window using the X in the upper-right corner caused the function specified by OnClientDialogClosing to be called. This doesn't seem to be the case in RadControls for ASP.NET AJAX.

Is this an oversight? Or is there another way to know when the spell check dialog is closed? OnClientDialogClosing is fired if you click the Close button within the dialog, but not when you click the X in the Window title bar.

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 18 Apr 2008, 12:55 PM
Hi,

I think that this is an oversight. OnClientDialogClosing is only fired when the spell check is finished. This happens when the user clicks the close button at the bottom or all wrong words are fixed. The event fired when you click the X in the previous spell control, because it had a custom dialog implementation. RadSpell for ASP.NET AJAX uses a normal RadWindow control and I think that it would not be difficult to wire the window closing event to the spell OnClientDialogClosing handler. I will write this as a feature request for the next release.

Greetings,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Spell
Asked by
Chris Sears
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or