This is a migrated thread and some comments may be shown as answers.

HTMLTextBox and Hyperlink

2 Answers 174 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jako
Top achievements
Rank 1
Jako asked on 11 Jul 2012, 09:27 PM
Hi there

I am creating a report at runtime and adding a AHREF tag to a htmltextbox, but when I run the code on the production server I get

An error has occurred while processing HtmlTextBox 'certNumberTextBox': '=' is an unexpected token. The expected token is ';'. Line 1, position 93 

The format of the URL is www.domain.com/page.aspx?cid=a4/2342/ad.1&code=000

Any idea why this would be happening?

2 Answers, 1 is accepted

Sort by
0
Hadib Ahmabi
Top achievements
Rank 1
answered on 12 Jul 2012, 02:18 PM
I  bet it's the ampersand - &. Try to escape it &
0
Jako
Top achievements
Rank 1
answered on 13 Jul 2012, 07:20 AM
Hi Hadib

That was the issue :)

Thanks
Tags
General Discussions
Asked by
Jako
Top achievements
Rank 1
Answers by
Hadib Ahmabi
Top achievements
Rank 1
Jako
Top achievements
Rank 1
Share this question
or