dkilby
asked on
asp.net + iframe + dynamic url
i have a usercontrol that has an iFrame, it pulls another page into the iframe, the problem is if i use the user control in a page in a different folder obviously the path has changed. how can i get the path no matter what page i use the user control
I tired using the ~ hoping it would go the the parent folder and work its way down, but that didn't work
<iframe id="ifrmComments" name="ifrmComments" src="WebForms/ViewOrderLog s.aspx"
scrolling="auto" width="100%" height="130"></iframe>
works fine if i use the user control as in the same folder.
Thanks
I tired using the ~ hoping it would go the the parent folder and work its way down, but that didn't work
<iframe id="ifrmComments" name="ifrmComments" src="WebForms/ViewOrderLog
scrolling="auto" width="100%" height="130"></iframe>
works fine if i use the user control as in the same folder.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I explained why his ~ wasn't working, as well as some other options, answering his request so it would be nice to get the points ;-)
Ted
Ted
SO ACCORDINGLY YOU CAN TRY OUT.
SACHI