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

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -