OnClientDialogClosing not fired

2 posts, 0 answers
  1. Chris Sears
    Chris Sears avatar
    15 posts
    Member since:
    Jul 2006

    Posted 17 Apr 2008 Link to this post

    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.
  2. Lini
    Lini avatar
    2144 posts

    Posted 18 Apr 2008 Link to this post


    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.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top