Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Window > Rad Window Destroy issue

Not answered Rad Window Destroy issue

Feed from this thread
  • Surendar S avatar

    Posted on Feb 7, 2012 (permalink)

    Hi,
       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') {

     

    closewindow();

    }

    }

     

     

    function closewindow() {

     

    getwindowclose().Close();

    }

     

     

    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?

     

     

     

     

    Reply

  • Posted on Feb 7, 2012 (permalink)

    Hello Surendar,

    Try setting DestroyOnClose as true for the RadWindow.

    -Shinu.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Window > Rad Window Destroy issue
Related resources for "Rad Window Destroy issue"

ASP.NET Window Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]