So I have a SharePoint site, that through an iFrame, displays an aspx page. Ultimately, what I want to do is be able to display a 2nd iFrame, based on what the SharePoint URL that the client sees. Unfortunatly, when ever I call the current URL through either a JavaScript
or through an ASP
It gives me the URL of the page in the iFrame, not the URL of the page calling the iFrame. It was suggested to me that I try to use client side javascript to display the URL of the page, but I don't know how to do that.
Any suggestions?
Thanks in advance.
Code:
document.write(location.href);
Code:
Request.Url.PathAndQuery
Any suggestions?
Thanks in advance.