Rad Window Destroy issue

2 posts, 0 answers
  1. Surendar S
    Surendar S avatar
    34 posts
    Member since:
    Nov 2009

    Posted 07 Feb 2012 Link to this post

       I am using the Rad window to load the pop up page. I use the below code to open the radwindow.
    window.radopen("UserPage.aspx?UserId=" + value, "RadWindowManagerUser"); ///Javascript code

    For closing the window i use the below coding in javascript




    function click_handler(sender, e) {




    if (e.get_item().get_value() == 'Closebtn') {







    function closewindow() {






    function getwindowclose() {




    var oWindow = null;




    if (window.radWindow) oWindow = window.radWindow;




    else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;




    return oWindow;



    The issue is even after the window is closed using th eabove code, the window is still persisting(it is not visible). It is not completely destroyed. I need to destroy the window. How this can be accomplished?





  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Feb 2012 Link to this post

    Hello Surendar,

    Try setting DestroyOnClose as true for the RadWindow.

Back to Top