Javascript pop up not loading
<p>I have the following code behind -</p>

<pre><code>int p = 0;

        try
        {

            p = System.Convert.ToInt16(txt7.Text);
        }
        catch
        {
            Page.ClientScript.RegisterStartupScript(this.GetType(), "showMyMessage", "ShowMessage('Value must be numerical');", true);
        }
</code></pre>

<p>And the function -</p>

<pre><code> &lt;script&gt;

  function ShowMessage(message) { alert(message); }

&lt;/script&gt;
</code></pre>

<p>On debugging it goes into the catch however the pop up is not firing in the front end, what is it I am missing?</p>
