This is a migrated thread and some comments may be shown as answers.

how can i get url of current window OnClientClose?

1 Answer 80 Views
Window
This is a migrated thread and some comments may be shown as answers.
barbod
Top achievements
Rank 1
barbod asked on 15 Jul 2008, 10:50 AM
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

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 15 Jul 2008, 11:07 AM
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
Tags
Window
Asked by
barbod
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or