Dim hyp = New HyperLink()
hyp.ID = a_taglist(itags)
hyp.Attributes.Add("onmousedown", "return clk('" & a_taglist(itags) & "')")
panel1.Controls.Add(hyp)
I want the row:
hyp.Attributes.Add("onmousedown", "return clk('" & a_taglist(itags) & "')")
To add a onmousedown attribute to the hyperlink.
It kind of works but it gets replaced with & # 39
;
onmousedown="return clk(& #39;bavaria& #39;)"
How can I avoid this. I've tried to "\"
escape it out and sending it char(')
already.
Any ideas?