escaping characters
<p>How can I escape the Quotes so that this statement</p>

<pre><code>string sScript =@"&lt;script language='javascript'&gt;function ShowDropDown(){var combo = $find("""+this.ClientID+""");combo.showDropDown(true);}&lt;/script&gt;";
</code></pre>

<p>reads like this</p>

<pre><code>function ShowDropDown() {
                var combo = $find("ctl00_ctl00_MainContent_MainContent_VendorTypeIdComboBox");
                combo.showDropDown(true);
            }
</code></pre>

<p><strong>EDIT- UPDATE</strong>
I might of asked the question wrong because i keep getting different errors.  If I put the javascript directly on the page normally the function works.  When I inject the javascript this way it doesnt work</p>

<p>I am doing this in code behind</p>

<pre><code>string sScript =@"&lt;script language='javascript'&gt; function ShowDropDown(){  var combo = $find("""+this.ClientID+@"""); combo.showDropDown(true); } &lt;/script&gt;";
        ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "autoopendropdown", sScript, false);

        OnClientFocus = "ShowDropDown()";
</code></pre>

<p>it gets generated this way</p>

<pre><code>&lt;script language='javascript'&gt; function ShowDropDown(){  var combo = $find("ctl00_ctl00_MainContent_MainContent_VendorTypeIdComboBox"); combo.showDropDown(true); } &lt;/script&gt;
</code></pre>

<p>but the variable <strong><em>combo</em></strong> is null and thats what the problem is. I cant figure out why when it is registered with code-behind it doesnt work and when write it normally on the page it does.</p>
