how to call a jquery function from a c# application?
<p>I want to call a jquery function from a C# application. I have an idea how to do that as already did some research on it. But Im stuck on how to start with it.</p>

<p>I added <code>System.Web.UI</code> in the references, but can only find <code>ClientScriptManager</code>, I dont see a <code>ScriptManager</code>, nor do I see a <code>ClientScript</code> as mentioned in some forums. So I began with this:</p>

<pre><code>ClientScriptManager.RegisterStartupScript(this.GetType(), "jQuery", jsText, false);
</code></pre>

<p>but seemed like I need to get an object of <code>ClientScriptManager</code> to do this. So I created an object of <code>ClientScriptManager</code>:</p>

<pre><code>ClientScriptManager csm = new ClientScriptManager();
</code></pre>

<p>now I get an error saying <code>ClientScriptManager does not have a constructor</code>.</p>

<p>Any help on how to proceed?</p>

<p>Thanks</p>
