How i can call JavaScript function from asp.net server side if script in user control
<p>I have a ASP.NET page with 1 user controls registered.</p>

<p>i have one server control </p>

<pre><code>&lt;asp:LinkButton ID="vidoUpdatebtn" OnClick="vidoUpdatebtn_Click" runat="server"&gt;LinkButton&lt;/asp:LinkButton&gt;
</code></pre>

<p>in .cs i handle</p>

<pre><code> protected void vidoUpdatebtn_Click(object sender, EventArgs e)
    {
        //do something
        ScriptManager.RegisterStartupScript(this, this.GetType(), "myscript", "doSomeThing()", true);

    }
</code></pre>

<p>in user control i have function doSomeThing()</p>

<pre><code> function doSomeThing() {
         alert("TestReady");
     }
</code></pre>

<p>when i click on LinckButon registred function dosen't  work</p>
