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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

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

unit testing - How to mock PreferenceManager in Android? -