How to check if it's confirm dialog or Rad window.

2 posts, 0 answers
  1. Alex
    Alex avatar
    4 posts
    Member since:
    Aug 2010

    Posted 16 Dec 2010 Link to this post

    I have a handler for "OnClientClose" event of RadWindowManager. When I finish the confirm dialog, this event hires. How can I figure out it was confirmDialog or RadWindow? Thanks in advance.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 Dec 2010 Link to this post

    Hello Alex,

    You could check for the window name in the OnClientClose method of RadWindowManager to distinguish between window or confirm.

    client code:
    function OnClientClose(sender, args) {
        alert(sender.get_name()); // Check for the "sender.get_name()"
    }


    -Shinu.
Back to Top