M
Mark
Hi,
Here's what's up:
I have a subroutine getAds () that I possibly will need to call more than
once in a page (and on more than one page). When I have the sub code on the
same page, it works fine.
When I try and move it to a separate page (to consolidate all of the
commonly called ones) and use <!-- include virtual =
"somefolder/somepage.aspx"-->
I get no errors about not being able to find the file, so I'm assuming it's
being included, but when I call getAds() , I get an error saying 'getAds()'
is not declared.
I'm putting the include tag directly after my page directive and my sub
accepts one parameter.
How can I move my commonly called subs to another page and reference them?
Sorry If I'm overlooking something incredibly obvious.
Thanks,
Mark
Here's what's up:
I have a subroutine getAds () that I possibly will need to call more than
once in a page (and on more than one page). When I have the sub code on the
same page, it works fine.
When I try and move it to a separate page (to consolidate all of the
commonly called ones) and use <!-- include virtual =
"somefolder/somepage.aspx"-->
I get no errors about not being able to find the file, so I'm assuming it's
being included, but when I call getAds() , I get an error saying 'getAds()'
is not declared.
I'm putting the include tag directly after my page directive and my sub
accepts one parameter.
How can I move my commonly called subs to another page and reference them?
Sorry If I'm overlooking something incredibly obvious.
Thanks,
Mark