How to get Request.UrlReferrer passed into xslt macro?
I need to know which page was previous to the current in a macro I'm writing. Would like to get the urlreferrer value via c# script in template and pass it as a parameter to the macro, but can't see how to do it. <%= getUrl() %> is not interpreted by the macro. Anyone with good ideas out there?
How to get Request.UrlReferrer passed into xslt macro?
I need to know which page was previous to the current in a macro I'm writing. Would like to get the urlreferrer value via c# script in template and pass it as a parameter to the macro, but can't see how to do it. <%= getUrl() %> is not interpreted by the macro. Anyone with good ideas out there?
And by the way, I'm NOT Mike Delamater, I'm Siw Ørnhaug. This profile mixup has caused me a lot of trouble just getting logged in!
Hi Siw
In your XSLT-file you can grab the referring page like this:
This means that you don't have to get the value through C# and then pass it as a parameter.
/Kim A
Thanks a lot Kim!
I knew it had to be fairly straight foreward :-)
is working on a reply...