PDA

Click to See Complete Forum and Search --> : locationURL


tswayer
Oct 31st, 2000, 02:37 PM
I have an ActiveX control that I am creating to use on the web. When the control loads, I need to obtain the URL from the browser. Any suggestions on how to do this?

Thanks

monte96
Oct 31st, 2000, 03:35 PM
window.location.href

tswayer
Nov 1st, 2000, 05:52 AM
I need to grab the url in the control itself. I have tried using:

UserControl.Parent.Script.Document.parentWindow.LocationURL

No luck however. Any other suggestions?

monte96
Nov 1st, 2000, 10:10 AM
Can't you pass the value in script to the control?