Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
875
How to get current WDW.ContentUrl by JavaScript?
posted

I want to open a wdw with a given ContentUrl. After navigating to wanted destination i want to close the wdw and reload the parent with containing the navigated ContendUrl.

 

With

function WebDialogWindow1_HeaderMouseDown(sender, eventArgs) {

<% Session["Destination"] = "http://www.test.com";%>

window.parent.location.reload();

}

 it works with the given "..test.com", but how i can replace "...test.com" with the current ContenUrl of wdw?