Close window by clicking outside of it

3 posts, 1 answers
  1. Hans Gunnar
    Hans Gunnar avatar
    13 posts
    Member since:
    Jan 2009

    Posted 17 Feb 2010 Link to this post

    Hi, is it possible to close a RadWindow by just clicking outside of it on the screen/parent window?

    I have tried searching for such functionality, but haven't been able to find it.

    Tried to do it by creating an onclick-function on the body of the parent page, that searches for any active RadWindow and closes it if found. This kind of works - BUT it closes the window just as it's getting opened too, so for a user the screen just flickers as the window opens and closes again immediately.

    Would be grateful for any help here.

  2. Answer
    Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 22 Feb 2010 Link to this post

    Hello Hans,

    I believe that this code library will be of help.

    Regards,
    Fiko
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Hans Gunnar
    Hans Gunnar avatar
    13 posts
    Member since:
    Jan 2009

    Posted 23 Feb 2010 Link to this post

    Thank you very much for your code library addition. Works like a charm. :)
Back to Top