How to NOT automatically convert my single quotes to &#39;
<p>Hi I have a hyperlink in asp.net that I want to dynamically create. I also add additional attributes like onmouseover to call a javascript function. My problem is that instead of setting my attribute to </p>

<pre><code>onmouseover="myJSFunc('param')" 
</code></pre>

<p>it converts it to </p>

<pre><code>onmouseover="myJSFunc(&amp;#39;param&amp;#39;)". 
</code></pre>

<p>Any ideas how to get this to work in ASP.NET C#? Thanks!</p>

<p>Ryan</p>

<p>EDIT: </p>

<p>These controls are in a repeater. This is what I have in my code behind;</p>

<pre><code>hypNav.Attributes.Add("onmouseover", "myJSFunc('" + divNav.ClientID + "')");
</code></pre>
