ChainsawJoe
Programmer
Hi all,
I'm using an Image webcontrol within a purchase confirmation page on an eCommerce wensite in order to specify affiliate tag info.
E.g.
Where "Value" is the order value and "OrderId" is the ..uh.. order id..
Problem: the above renders as:
Obviously the "&" completely screws it up. I decided the easiest route was to encode the amps as "%26" but the affiliate people are telling me that this isn't working for them.
My question: how can I use the Image webcontrol with "&" without it htmlencoding it? OR is it just better to use a serverside Img HTMLcontrol and set the href using "&"?
Many thanks tek dudes!
--------------------------------------------------
- better than toast.
Penguins - better than --------------------------------------------------
I'm using an Image webcontrol within a purchase confirmation page on an eCommerce wensite in order to specify affiliate tag info.
E.g.
Code:
imgTracker.ImageUrl = "[URL unfurl="true"]https://tracker.clicktrade.com/Tracker/Sale.dll?clicktrade=1234&sale="[/URL] & Value & "&uarg=" & OrderId
Where "Value" is the order value and "OrderId" is the ..uh.. order id..
Problem: the above renders as:
Code:
[URL unfurl="true"]https://tracker.clicktrade.com/Tracker/Sale.dll?clicktrade=1234&sale=<some[/URL] value>&uarg=<some id>
Obviously the "&" completely screws it up. I decided the easiest route was to encode the amps as "%26" but the affiliate people are telling me that this isn't working for them.
My question: how can I use the Image webcontrol with "&" without it htmlencoding it? OR is it just better to use a serverside Img HTMLcontrol and set the href using "&"?
Many thanks tek dudes!
--------------------------------------------------
- better than toast.
Penguins - better than --------------------------------------------------