c# - How to NOT automatically convert my single quotes to ' -
hi have hyperlink in asp.net want dynamically create. add additional attributes onmouseover call javascript function. problem instead of setting attribute
onmouseover="myjsfunc('param')"
it converts
onmouseover="myjsfunc('param')".
any ideas how work in asp.net c#? thanks!
ryan
edit:
these controls in repeater. have in code behind;
hypnav.attributes.add("onmouseover", "myjsfunc('" + divnav.clientid + "')");
seems .net 4.0 issue. check out.
Comments
Post a Comment