AndyGB4
Posts: 122
|
Posted: 03/07/2012, 11:29 AM |
|
Hi, is there a way to figure out which page is the one calling the include page?
For example:
I have a "mainpage.asp" and in it, I use an include page "includepage.asp".
In the include page, I need to hide a column based on what page is Including it.
So if its for example "mainpage.asp" show the column, if not, dont show the column.
Any ideas on how to do this?
I've tried some variable stuff but it really didn't work out for me.
Thanks!
|
|
|
floydans
Posts: 1
|
Posted: 04/24/2012, 3:57 AM |
|
I think you can just use "Filename" variable from your include page. It should return the name of the page executing (even if you are using it from your included page).
|
|
|
|