how can i get url of current window OnClientClose?

2 posts, 0 answers
  1. barbod
    barbod avatar
    15 posts
    Member since:
    Apr 2007

    Posted 15 Jul 2008 Link to this post

    i use radwindowmanager (RadControls for ASP.NET Q3 2007) :
    <rad:RadWindowManager id="RadWindowManager" runat="server" InitialBehavior="None" MinimizeMode="MinimizeZone" MinimizeZoneId="HorizontalMinimize" OnClientClose="OnCloseClick">
    </rad:RadWindowManager>

    and for show a new window i use :
    {
         window.radopen(windowUrl, null);
         return false;
    }

    how can i get url of current window OnClientClose ????

    please help me , thanks
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 15 Jul 2008 Link to this post

    Hello barbod,


    You can do this by using the GetUrl() method:

    function OnClientClose(oWnd)
    {
        alert("Url is" + oWnd.GetUrl());
    }




    Best wishes,
    Georgi Tunev
    the Telerik team

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