title: Register javascript inside User Control using C#
body: <p>I want to call javascript function from User Control using C#. For that i am trying to use   </p>
  
  <pre><code>ScriptManager.RegisterStartupScript(this, typeof(string), "alertbox", "javascript:ShowPopup('Select a row to rate');", true); 
  </code></pre>
  
  <p>but it is not working for me. This works fine on the page. Can some one help me out how can i call javascript function at runtime using C#.</p>
  
  <p>Thanks,</p>